added on server side
This commit is contained in:
0
_ajax/output.txt
Normal file
0
_ajax/output.txt
Normal file
3
_ajax/test.php
Normal file
3
_ajax/test.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
echo "hello";
|
||||
@@ -52,7 +52,7 @@ switch ($this->get_id()) {
|
||||
|
||||
case 'training':
|
||||
//TRAINING TYPE ARRAY
|
||||
$training_type_query = "SELECT * FROM training_type ORDER BY trt_name ASC;";
|
||||
$training_type_query = "SELECT * FROM training_type WHERE trt_deleted = 0 ORDER BY trt_name ASC;";
|
||||
$training_type_assoc_array = $sql->assoc_array($training_type_query);
|
||||
$smarty->assign("training_type_assoc_array", $training_type_assoc_array);
|
||||
//TRAINING TEMPLATE ARRAY
|
||||
|
||||
38
htaccess_backup
Normal file
38
htaccess_backup
Normal file
@@ -0,0 +1,38 @@
|
||||
# HTID:8911349: DO NOT REMOVE OR MODIFY THIS LINE AND THE LINES BELOW
|
||||
php_value display_errors 1
|
||||
# DO NOT REMOVE OR MODIFY THIS LINE AND THE LINES ABOVE HTID:8911349:
|
||||
|
||||
Options +FollowSymLinks -MultiViews
|
||||
# Turn mod_rewrite on
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
#RewriteRule ^$ cegled/phpinfo.php [NC,L]
|
||||
RewriteRule ^$ index.php?page=view [NC,L]
|
||||
|
||||
RewriteRule ^_cron\/([0-9a-z_\.\-]*) ./cron/$1 [NC,L]
|
||||
RewriteRule ^(admin|view|coach|preview|coach_preview|tabor)\/?([0-9a-z_\-]*)\/?([0-9a-z_\-]*)$ ./index.php?page=$1&subpage=$2&id=$3 [NC,L]
|
||||
|
||||
# RewriteRule ^index.php(.*)$ cegled/index.php$1 [NC,L]
|
||||
# RewriteRule (.*) $1 [NC,L]
|
||||
|
||||
# RewriteRule ^\/?([a-z_]+)\/?([0-9a-z_\.\?\&\=\-]*)\/?(.*)$ ./index.php?page=$1&subpage=$2&id=$3 [NC,L]
|
||||
|
||||
# BEGIN cPanel-generated php ini directives, do not edit
|
||||
# Manual editing of this file may result in unexpected behavior.
|
||||
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
|
||||
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
|
||||
#<IfModule php5_module>
|
||||
# php_value date.timezone "Europe/Budapest"
|
||||
#</IfModule>
|
||||
#<IfModule lsapi_module>
|
||||
# php_value date.timezone "Europe/Budapest"
|
||||
#</IfModule>
|
||||
# END cPanel-generated php ini directives, do not edit
|
||||
|
||||
# php -- BEGIN cPanel-generated handler, do not edit
|
||||
# Set the “ea-php56” package as the default “PHP” programming language.
|
||||
<IfModule mime_module>
|
||||
AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
|
||||
</IfModule>
|
||||
# php -- END cPanel-generated handler, do not edit
|
||||
@@ -16,15 +16,18 @@
|
||||
<label class="desc" for="ua_password">Jelszó:</label>
|
||||
<div><input type="text" name="ua_password" id="ua_password"></div>
|
||||
</div>
|
||||
|
||||
<div class="admin_area">
|
||||
<label>Jogosultságok:</label>
|
||||
<table id="authorities">
|
||||
|
||||
{foreach $a_array as $a}
|
||||
<tr id="a_{$a->get_a_id()}">
|
||||
<td><label for="authority_{$a->get_a_id()}">{$a->get_a_title()}</label></td>
|
||||
<td><input class="authorities" value="{$a->get_a_id()}" type="checkbox" name="authorities[]" id="authority_{$a->get_a_id()}"></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user