Download the PHP package kassovicms/onyx without Composer
On this page you can find all versions of the php package kassovicms/onyx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package onyx
Onyx
Onyx triedy (model a visual)
Model
$sql = "SELECT * FROM table";
$xdata = new sqldata();
$xdata->sql_query = $sql;
$datatable = $xdata->get_sql_data();
$rowdata = $xdata->get_sql_row_data();
$figure = $xdata->get_sql_onefigure_data("sql_field_name");
Render
$variables = array(
'pagetitle' => "Page title",
'hdnavi_html' => "top_nav.php",
'no_login' => FALSE,
'sql' => $sql,
'form_action' => $_SERVER["PHP_SELF"]);
renderLayout2 ("/commons/insert_success_view.php", APP_TEMPLATE_FILE, APP_LAYOUT_FILE, $variables);
View - Form dropdown
View - Form field
HTML Form example
<form action=""
class="pure-form pure-form-aligned"
enctype="multipart/form-data"
id="formular"
method="post">
<fieldset>
<legend>Miesto</legend>
</fieldset>
<fieldset>
<legend>Produkty a ceny</legend>
</fieldset>
<br>
<button class="pure-button pure-button-primary"
type="submit"
name="submit"
id="submitID">
Zaznamenať
</button>
<p hidden id="oznam">Pracujeme na tom...</p>
</form>
<script>
//Script to prevent double form submission
var form = document.getElementById('formular');
var submitButton = document.getElementById('submitID');
var oznamtext = document.getElementById('oznam');
form.addEventListener('submit', function()
{
submitButton.setAttribute('hidden', 'hidden');
submitButton.innerHTML = 'Pracujeme na tom...';
oznamtext.removeAttribute('hidden');
}, false);
</script>
All versions of onyx with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package kassovicms/onyx contains the following files
Loading the files please wait ....