This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Standard inclusions | |
| include("pChart/pData.class"); | |
| include("pChart/pChart.class"); | |
| include("RequestString.php"); | |
| //Конект с БД | |
| $host="localhost"; | |
| $user="root"; | |
| $pwd="7zippswd"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT dbo_fakultet.name AS Факультет, | |
| dbo_spec.name AS Специальность, | |
| dbo_obrazovanie.name AS Образование, | |
| dbo_study_form.name AS ["Форма обучения"], | |
| dbo_gruppa.name AS Группа, | |
| Count(dbo_student.student_id) AS ["Количество заявлений"], | |
| dbo_study_form.spravkaSB, | |
| dbo_student.budjet, | |
| IIf((dbo_student.finance=-1),"Да","Нет") AS Бюджет, | |
| Count(dbo_student.id) AS ["Количество людей"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream phpfpm { | |
| #server unix:/var/run/php5-fpm.sock; | |
| #avoid sockets for nginx-fpm on Linux, they are good for BSD | |
| server 127.0.0.1:9000; | |
| } | |
| server { | |
| listen 8080; | |
| server_name sumhr.com; | |
| rewrite ^(.*) $scheme://www.sumhr.com$1 permanent; |