diff --git a/_ajax/output.txt b/_ajax/output.txt new file mode 100644 index 0000000..e69de29 diff --git a/_ajax/test.php b/_ajax/test.php new file mode 100644 index 0000000..7bf38ca --- /dev/null +++ b/_ajax/test.php @@ -0,0 +1,3 @@ +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 diff --git a/htaccess_backup b/htaccess_backup new file mode 100644 index 0000000..dbecd35 --- /dev/null +++ b/htaccess_backup @@ -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) +# +# php_value date.timezone "Europe/Budapest" +# +# +# php_value date.timezone "Europe/Budapest" +# +# 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. + + AddHandler application/x-httpd-ea-php56 .php .php5 .phtml + +# php -- END cPanel-generated handler, do not edit diff --git a/template/templates/coach_create.tpl b/template/templates/coach_create.tpl index c492483..f19c694 100644 --- a/template/templates/coach_create.tpl +++ b/template/templates/coach_create.tpl @@ -16,15 +16,18 @@
+
+ {foreach $a_array as $a} {/foreach} +