]> gitweb.erp-flowers.ru Git - yii-erp24/.git/commitdiff
short tag fix
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Thu, 22 Feb 2024 10:26:00 +0000 (13:26 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Thu, 22 Feb 2024 10:26:00 +0000 (13:26 +0300)
42 files changed:
erp24/api1_old/bonus/callcheck.php
erp24/api1_old/bonus/return.php
erp24/api1_old/callsms/index.php
erp24/inc/amo.php
erp24/inc/amo/amo_inc.php
erp24/inc/api.php
erp24/inc/base.php
erp24/inc/base_new.php
erp24/inc/bonus.php
erp24/inc/checks.php
erp24/inc/cloudpayments.php
erp24/inc/compress.php
erp24/inc/compress_timestamp.php
erp24/inc/db.php
erp24/inc/db2.php
erp24/inc/db_bz24.php
erp24/inc/design.php
erp24/inc/design_new.php
erp24/inc/gps.php
erp24/inc/image.php
erp24/inc/integrations.php
erp24/inc/mail.php
erp24/inc/phpqrcode/INSTALL
erp24/inc/salary.php
erp24/inc/scriptsale.php
erp24/inc/shipment.php
erp24/inc/sms.class.php
erp24/inc/thumbs.php
erp24/inc/uni.php
erp24/inc/uni2.php
erp24/inc/universal.php
erp24/inc/upload.php
erp24/modul/checks/gps.php
erp24/modul/main.php
erp24/modul/store/add.php
erp24/modul/store/datatable.php
erp24/modul/store/itemmatrix.php
erp24/modul/store/stats.php
erp24/templates/bottom.php
erp24/templates/top.php
erp24/templates/top_light.php
erp24/views/lesson/analytics.php

index 0ad08de470641c276477d23ade50999fb9e7629a..34e8d0fc131b451b34e7c3c661b1c596433e7d9d 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 header("Access-Control-Allow-Origin: *");
 header("Content-Type: application/json; charset=UTF-8");
 header("Access-Control-Allow-Methods: POST");
index 4b41d6441eb1326315325c85fad87bd77fbcb72c..48563c45b1cb19ceac1ffd8d818f65a235529a68 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 // необходимые HTTP-заголовки 
 header("Access-Control-Allow-Origin: *");
 header("Content-Type: application/json; charset=UTF-8");
index c0e19a50deeaa00b10c4e506894bf9b99f524dbb..acb20f145d06a333e817e185553364786f3e6ccd 100644 (file)
@@ -1,4 +1,4 @@
-<? 
+<?php
 include_once("/var/www/www-root/data/www/bazacvetov24.ru/inc/db.php");
 ini_set('display_errors', 0);
 ini_set('display_startup_errors', 0);
index 03db6022486eff34f2b17c0cfab10104766d2ffa..b9070c0591cc6aac131d0c2dd1f353159b3a6588 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 function deal($deal,$field_tip='lead') {
 global $arr_type, $db ;
index 90bd82ab23ca61dbc9c099bc80dbd8312d4409ac..d8967045aaf28abe392d612c1f4e5451d863af1e 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 header('Access-Control-Allow-Origin: *');
 define('SECRET_FILE', __DIR__ . '/token_amo__1234u5u6uvhvhfdjhrrtghhr2022.json');
 define('SUBDOMAIN', 'bazacvetov24');
index 19079ec6e975ac8e53a9a677de8f0c731dfeaf69..588bcc4051e1f18ed2af0b2291705ef0a9ae4e2a 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 function func_import_json($value,$tip,$max="") {
 
index 48f0fc636b240b5540573dc8bf7c6247f2dbc106..887ff0a4f94f67122b8b328bf44109bd4ae35fa5 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 global $mysqli;
 
 
index 7f182a6102e8ac2959cc5e3649c9b289ee5843bc..73f0214e7e36ac35d48d4b001a4d6e207ed1f4fe 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 
 // форматированно выводит ошибки при добавлении данных через формы
index 6d54d656f6aed6189975dc6b34b07bcfae9390c7..0a2ad356da36b8117d082f27c46ce5625ad098dd 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $store_arr["Ванеева 181"]=1; 
 $store_arr["Белинка"]=2; 
index 41000d3e5d8089e6c4323c54738a5818fd7ebb84..32e049dad51b4e46151c62f6cd3c213c1b8ee389 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 
 // обновляем заказ если его нет в системе вносим - заказ формируем из амо
index 26e6ba2c7645e78e9b17415d2f78299f9fe1b248..a6cdbefe2b1bf04a838ce6c32a421defe726f28a 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 function import_cloudpayments($date="") {
 global $db;
index 80a792c7007ec154ffab1797d9210cb90a855e11..9851fea7df9306e7de28b64d541487a05cbec51d 100644 (file)
@@ -128,7 +128,7 @@ file_compress('js.js',array(
 //exit();   
 
 //             write new timestamp file compress_timestamp.php for php execution code
-$infofile='<?'.PHP_EOL;
+$infofile='<?php '.PHP_EOL;
 $infofile.='$compress_stamp='.$unix_timestamp.';'.PHP_EOL;
 $infofile.='?>'.PHP_EOL;
 file_put_contents ('compress_timestamp.php',$infofile,LOCK_EX);                //file loaded by ThreeColTemplate1.php to get unique stamp id
index a7b6012ebe5939790b34e0338ff6810d3b646030..ff1cc49971fbb293703d6f5d3bb9f5275a98b47e 100644 (file)
@@ -1,3 +1,3 @@
-<?
+<?php
 $compress_stamp=1646055591;
 ?>
index 4f56a612a8e777a1c7bdf705a502146b903527b5..a10ec442f589dca353a13d4f3539c9a8711741da 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 /*
 define('DB_HOST', '127.0.0.1');
 define('DB_NAME', 'erp');
index 3d3245d7b0ff044c60a6ee59305cea9d627ca8f4..f23a6b90d64c9f03b8654953fbf75be21e1d6633 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 
 class DB2
index a5f2665d9432e90460586ee92ae4995c0fdffceb..2bde44d98a1d9120ae3efe10cf072a32986ded14 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 $config = [
     'DB_HOST' => '127.0.0.1',
     'DB_USER' => 'bazacvetov24',
index 4a648a04bb124edb453b455099db45e0472b5503..146383338770a39fe62f0863e00458804fd242b8 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
        
 
@@ -8,11 +8,11 @@ if(!empty($_REQUEST["go"])) $go=insert_mysql($_REQUEST["go"]);
 ob_start();
 ?>
 <!DOCTYPE html><html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0" />
-<title><? if(empty($_CRM_TITLE)) echo"ERP BioWork"; else echo $_CRM_TITLE; ?></title><link rel="stylesheet" href="/assets/css/css.css"><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+<title><?php if(empty($_CRM_TITLE)) echo"ERP BioWork"; else echo $_CRM_TITLE; ?></title><link rel="stylesheet" href="/assets/css/css.css"><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
 <link rel="stylesheet" href="/assets/css/font-icons/font-awesome/css/font-awesome.min.css"><link rel="stylesheet" href="/assets/js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css">
 <link rel="stylesheet" href="/assets/css/font-icons/entypo/css/entypo.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic">
 <link rel="stylesheet" href="/assets/css/bootstrap.css"><link rel="stylesheet" href="/assets/css/neon-core.css?v=1"><link rel="stylesheet" href="/assets/css/neon-theme.css"><link rel="stylesheet" href="/assets/css/neon-forms.css?v1"><link rel="stylesheet" href="/assets/css/custom.css">
-<?
+<?php
 
        
 if(isset($CONFIG_SETKA["crm_color"])) $stl=$CONFIG_SETKA["crm_color"]; 
@@ -45,7 +45,7 @@ echo'<link rel="stylesheet" href="/assets/css/status.css?'.$csst.'">';
 ?><link href="/js/jquery-ui/jquery-ui.css" rel="stylesheet"><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script><script src="/js/jquery-ui/jquery-ui.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.2.2/jquery.form.min.js"></script>
 
 <base href="https://<?=$_CONFIG_SITE["name_site"]?>/"/>
-</head><?
+</head><?php
 
 if(!empty($_SESSION["admin_id"])) {
 
@@ -90,7 +90,7 @@ $manager_id=(int)$_SESSION['manager_id'];
                                        <img src="/i/logo_sm.png" height="20" alt="" />
                                </a>
                        </div>
-<?
+<?php
 $manager_id=(int)$_SESSION['manager_id'];
 $admin_id=(int)$_SESSION['admin_id'];
                        
index bd105ab0c704d61d3632f88f138f86381fb0794d..d2f88769c7765858796f4ab8f3da078e4060bf7e 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 function crm_menu($time_cache=3200)  {
 global $light,$_CONFIG_SITE,$CONFIG_SETKA,$db;
@@ -64,11 +64,11 @@ if(!empty($_REQUEST["go"])) $go=htmlentities($_REQUEST["go"]);
 ob_start();
 ?>
 <!DOCTYPE html><html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0" />
-<title><? if(empty($_CRM_TITLE)) echo"CRM BioWork"; else echo $_CRM_TITLE; ?></title><link rel="stylesheet" href="/assets/css/css.css"><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+<title><?php if(empty($_CRM_TITLE)) echo"CRM BioWork"; else echo $_CRM_TITLE; ?></title><link rel="stylesheet" href="/assets/css/css.css"><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
 <link rel="stylesheet" href="/assets/css/font-icons/font-awesome/css/font-awesome.min.css"><link rel="stylesheet" href="/assets/js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css">
 <link rel="stylesheet" href="/assets/css/font-icons/entypo/css/entypo.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic">
 <link rel="stylesheet" href="/assets/css/bootstrap.css"><link rel="stylesheet" href="/assets/css/neon-core.css?v=1"><link rel="stylesheet" href="/assets/css/neon-theme.css"><link rel="stylesheet" href="/assets/css/neon-forms.css?v1"><link rel="stylesheet" href="/assets/css/custom.css">
-<?
+<?php
 if(isset($CONFIG_SETKA["crm_color"])) $stl=$CONFIG_SETKA["crm_color"];
 if(!empty($stl)) echo"<link rel=\"stylesheet\" href=\"/assets/css/skins/$stl.css\">";
 
@@ -92,7 +92,7 @@ $fp = @fopen($crc_page, "w+");
 echo'<link rel="stylesheet" href="/assets/css/status.css?'.$csst.'">';
 ?><link href="/js/jquery-ui/jquery-ui.css" rel="stylesheet"><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script><script src="/js/jquery-ui/jquery-ui.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.2.2/jquery.form.min.js"></script>
 <base href="https://<?=$_CONFIG_SITE["name_site"]?>/"/>
-</head><?
+</head><?php
 if(!empty($_SESSION["admin_id"])) {
 $db::sql("UPDATE `admin` SET lasttime=NOW() WHERE `id` = :id LIMIT 1", ['id' => $_SESSION["admin_id"]]);
 }
@@ -113,7 +113,7 @@ $manager_id=(int)$_SESSION['manager_id'];
                                        <img src="/i/logo_sm.png" height="20" alt="" />
                                </a>
                        </div>
-<?
+<?php
 $manager_id=(int)$_SESSION['manager_id'];
 $admin_id=(int)$_SESSION['admin_id'];
 
@@ -131,7 +131,7 @@ crm_menu(10);
 <ul id="main-menu2" class="main-menu navbar-nav"></ul>
 </div>
 </header>
-<?
+<?php
 
 
 /*<div class="sidebar-menu">
@@ -483,7 +483,7 @@ $('#modal-3').css({
 <style>.modal {overflow-y: auto;}
 .modal-open {  overflow: auto;}</style>
 
-<?     
+<?php
        
        
        
index bb747545f70e7e414f7023e1aacb6147adb57d20..f004de31be8d1be04b2ae0069f136891747e1af9 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
  function latlng2distance($gps, $gps2)  {
  $gpsarr=explode(",",$gps);
index 9dafc32a1fd176c036910ce70a7dc3b066a668c5..eb857d6883346c26f2a11c3f6f8125028a9676b6 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 //require_once dirname(__FILE__)."/image_bmp.php";
 /* 
 Пример использования:
index e9cf09d4718fa3e47aad0c93485d4c95bcaa4d5e..da9f17c41667018b53b9a6e98c3db8c982a0b0d6 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 function get_export_id($export_val, $entity="admin", $export_id=1) {
 global $db,$arr__export;
 if(empty($arr__export["$entity$export_id"])) {
index 55b1d6860875fbee889029df60e3230db3d18917..87bc4641a0a3bdc0b89e6dd2f7822b1766130056 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 require "startup.php";
 if(!is_administrator()) header("Location: index.php");
 if($_SESSION['group_id']==0) header("Location: index.php");
@@ -462,7 +462,7 @@ imap_close($connection);
 </body>
 </html>
 
-<?     
+<?php
        
        
        
index 945c95ae5c957f9b6999dc83e5904b4bb9fd3aa4..0f8e6af574c17468bc57e59f8b4b93fbb90a242f 100644 (file)
@@ -18,7 +18,7 @@ provided comments and project wiki page (links in README file)
 
 Notice: probably you should'nt use all of this in same script :)
 
-<?phpb
+<?php
 
 //include only that one, rest required files will be included from it
 include "qrlib.php"
index f1c199b8f82353fb2889763fb551d232ba4ccb9f..b19099587d2b6441ac4762ad36fc31a4fe553d21 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 $_CONFIG["salary"]["normal_count_shift"]=[25=>15,30=>15,35=>15,50=>15];
 
index 3ca9ac417362f3bb7fd0c9b02bbdaa2c35001fdf..eec85cec5b971abda5ca1545668a74adf46b8531 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 function make_links_clickable($text)
 {
index 76a7fe3ac72a7d69fee6b8f5e02aac33dec6d6dc..c5869f4fd0e52c0bfcbd1faa1332d1afe1bc144a 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 // округляет до определенного числа
 function ceilCoefficient($number, $rate = 1)
index f6aa99993e8cbc9129725b336d27adc9ae6331f2..6f26d67341c7e49effa3fa2ccd07bc3de70b1efa 100644 (file)
@@ -139,7 +139,7 @@ class Messages extends Request implements Factory
         return (string) "{$this->url}/xml/";
     }
 
-    protected static function parseXml($xml)
+    protected function parseXml($xml)
     {
         $domXml = simplexml_load_string($xml);
         $arr = array();
@@ -237,7 +237,7 @@ class State extends Request implements Factory
         return (string) "{$this->url}/xml/state.php";
     }
 
-    protected static function parseXml($xml)
+    protected function parseXml($xml)
     {
         $domXml = simplexml_load_string($xml);
         $arr = array();
@@ -300,7 +300,7 @@ class Balance extends Request implements Factory
         return (string) "{$this->url}/xml/balance.php";
     }
 
-    protected static function parseXml($xml)
+    protected function parseXml($xml)
     {
         $domXml = simplexml_load_string($xml);
         $arr = array();
@@ -377,7 +377,7 @@ class Incoming extends Request implements Factory
         $this->item['end'] = $end;
     }
 
-    protected static function parseXml($xml)
+    protected function parseXml($xml)
     {
         $domXml = simplexml_load_string($xml);
         $arr = array();
index 2c4e22ce7fcc9c57fcf634faee9d932c8927b0f5..32fa446cc102e13baca70459a2c7b931271fa235 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 class Thumbs 
 {
        public function __construct($filename)
index f84bb32dda9e0fec93471efc6e6be5ced4f18fde..afb64f7d5127f836336b7d5570dd07f26ac36264 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 function store_select($form=1,$pole_name="id",$store_all=0) {
 global $db;
 
@@ -1251,7 +1251,7 @@ $(document).ready(function() {
        });
 });    
 </script>      
-<?                                                                     
+<?php
                                                                
 
 }
index 2b2baddfaefa29bff59d96c7ae4c196a78224953..6a4784dc642b29af821a3568c250a95e2f9be037 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 $_CONFIG["entity_arr"]=array(
     "lead"=>array("name"=>"Сделки/заказы", "table"=>"orders_amo"),
     "client"=>array("name"=>"Клиент", "table"=>"contacts","type_id"=>0),
index a2e347f40acef2b1b1aded736d3b778a89e9a588..acf188e4afe69849458832e8a92a79ab424a1fb3 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 function connect_mysql_crm(){
 global $_CONFIG_SITE;
index ee27448f91c69d4e624fd8121312d8f6763f798c..935bafff4178f380dd2a49f45db3bca221fb1e68 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 function upload_file($name,$check_id,$id,$param=array("path"=>"data/{name}","ext"=>array("jpg"),"resizeimg"=>array("image_sm"=>array("path"=>"data/{name}","width"=>1300,"height"=>1300)))) {
 global $_CONFIG_SITE, $db,$sql_table_image, $return_mess;    
 $error="";
index f978456dfc6a9cd1f7c6fe0d17f3e1f36d1a0651..139ebbede7015cfb3629bf5f483c9dd921bddc5d 100644 (file)
@@ -25,7 +25,7 @@ $sql_table="checks";
   </div>
 
     </form>
- <? 
+ <?php
  
  
 
index cd245fab1e9454cc3930074e77faf5ea53ae44ba..112f6c5b6a3751549917e770168341a41e9e9c57 100644 (file)
@@ -1,4 +1,4 @@
-<? 
+<?php
 
 include_once("inc/db.php");
 include_once("inc/base_new.php");
index e2fede98ec86dcf0bb969c5517488edf63fea5b2..4bed98163f8a35d5bc0042bd43a1e95c348ea419 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 include_once ("startup.php");
 include_once("inc/db.php");
 include_once("inc/base_new.php");
index 05b4a9b313c69309942c5304d5d44a962ed30faf..b732927a3e428bd3093dc87d39d496a62b8cbee8 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 include_once ("startup.php");
 include_once("inc/db.php");
 include_once("inc/base_new.php");
@@ -740,7 +740,7 @@ include_once"templates/top.php";
                                                                        </div>
                                                                </div>
 
-<?
+<?php
 
 
 include_once"templates/bottom.php";
index 0736372998aedc1cb0654a05286068e17d3e3a85..d7655662e482bc645a2a498406ae003667cee31a 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 include_once("startup.php");
 include_once("inc/db.php");
 include_once("inc/base_new.php");
index 1bc4a15815711fb284852b9859d082e018c1c9b9..b8da0625e9e7ab0b2e833cdd6935433e397ae426 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 include_once("startup.php");
 include_once("inc/db.php");
 include_once("inc/base_new.php");
index 8df68298818977ff4153ac567f82f796384521da..af57c3553aef7f05299c7fc234339c3671fd73af 100644 (file)
@@ -13,7 +13,7 @@
                                                 <span class="fa fa-heart text-danger">База Цветов 24.ру</span>  
                                                 
                                                 
-<?
+<?php
 global $tstart,$light,$modul,$act, $db, $CONFIG_SETKA;
 if(isset($CONFIG_SETKA["crm_color"])) $light=$CONFIG_SETKA["crm_color"];
 $totaltime=round((microtime(1)-$tstart),4);
@@ -43,7 +43,7 @@ echo" <a href=\"/video/show/?menu=/$modul/$act/\">Смотреть уроки</a
                                <script src="/azea/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
                                
                                        
-<? 
+<?php
 echo'<script src="/cache/menutop_'.$_SESSION["admin_id"].'.js?r='.date("YdmHi").'"></script>
        <script src="/azea/assets/plugins/sidemenu/sidemenu.js?r=12"></script>'; 
 
index 79af650202f8b743df342d5eb233e16c01facdfa..2fe076883c406559327d2d15c73beff31f9f2ce7 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 if(empty($_SESSION["admin_id"])) { header("Location: /login/login2/"); exit(); }
 global $tstart,$light,$modul,$act, $db, $CONFIG_SETKA,$_CONFIG;
 
@@ -35,7 +35,7 @@ $urli=$urli2[0];
 
                <!--Favicon -->
        
-<?
+<?php
 //     <link rel="icon" href="/azea/assets/images/brand/favicon.ico" type="image/x-icon"/>
 require_once('inc/compress_timestamp.php');            //load timestamp created by compress.php module
 //sets field $compress_stamp=unix_timestamp
@@ -57,9 +57,9 @@ require_once('inc/compress_timestamp.php');           //load timestamp created by compres
                
        </head>
 
-       <body class="app sidebar-mini<? if($_SESSION["teme_color"]=="dark") echo" dark-mode"; ?>
+       <body class="app sidebar-mini<?php if($_SESSION["teme_color"]=="dark") echo" dark-mode"; ?>
        
-       <? 
+       <?php
 //     if($_SESSION["sidenav"]=="collapse") echo" sidenav-toggled";
        
 // desctop hide menu
@@ -98,7 +98,7 @@ elseif(!is_mobile()) echo" [MENU_COLLAPSE]";
                                        
 
 <ul class="side-menu app-sidebar3 noprint" id="main_menu_l">
-<?          
+<?php
 
 if(empty($_SESSION["lasttime"]) or ( $_SESSION["lasttime"] <(time()-20) ) ) {
 $db::sql("UPDATE admin set lasttime=NOW() WHERE id=?", $_SESSION["admin_id"]);
@@ -288,7 +288,7 @@ if(!file_exists($crc_page) or ($modif>$time_cache)){
                                                                        </form>
                                                                </div><!-- SEARCH -->
                                                                
-                                                        <? if(is_mobile()) { ?>        
+                                                        <?php if(is_mobile()) { ?>
                                                                        <div class="d-flex order-lg-2 ms-auto"> <span class="mt-4 header-avatar1">
                                                                                                                        <img src="/<?=$_SESSION["avatarka"]?>" height=40 alt="img" class="avatar">
                                                                                                                </span></div>
@@ -304,7 +304,7 @@ if(!file_exists($crc_page) or ($modif>$time_cache)){
                                                                                                                <svg xmlns="http://www.w3.org/2000/svg" class="header-icon" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13.586V10c0-3.217-2.185-5.927-5.145-6.742C13.562 2.52 12.846 2 12 2s-1.562.52-1.855 1.258C7.185 4.074 5 6.783 5 10v3.586l-1.707 1.707A.996.996 0 0 0 3 16v2a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2a.996.996 0 0 0-.293-.707L19 13.586zM19 17H5v-.586l1.707-1.707A.996.996 0 0 0 7 14v-4c0-2.757 2.243-5 5-5s5 2.243 5 5v4c0 .266.105.52.293.707L19 16.414V17zm-7 5a2.98 2.98 0 0 0 2.818-2H9.182A2.98 2.98 0 0 0 12 22z"/></svg><span class="pulse "></span>
                                                                                                        </a>                            
                                                                                                </div> -->
-                                                               <? } ?>                                 
+                                                               <?php } ?>
                                                                                                        
                                                                <div class="d-flex order-lg-2 ms-auto main-header-end">
                                                                        <button  class="navbar-toggler navresponsive-toggler d-md-none ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent-4" aria-controls="navbarSupportedContent-4" aria-expanded="true" aria-label="Toggle navigation">
@@ -349,7 +349,7 @@ if(!file_exists($crc_page) or ($modif>$time_cache)){
                                                                                                
                                                                                                
                                                                                        
-<? /*
+<?php /*
        <!-- Theme-Layout 
                                                                                                <div class="dropdown   header-fullscreen d-flex" >
                                                                                                        <a  class="nav-link icon full-screen-link p-0"  id="fullscreen-button">
@@ -489,7 +489,7 @@ if(!file_exists($crc_page) or ($modif>$time_cache)){
                                                                                                                                        <div class="small text-muted">3 часа назад</div>
                                                                                                                                </div>
                                                                                                                        </a>
-                                                                                                               <? /*   <a href="email-inbox.html" class="dropdown-item border-bottom d-flex ps-4">
+                                                                                                               <?php /*        <a href="email-inbox.html" class="dropdown-item border-bottom d-flex ps-4">
                                                                                                                                <div class="notifyimg  text-secondary bg-secondary-transparent border-secondary"> <i class="fa fa-shopping-cart"></i></div>
                                                                                                                                <div>
                                                                                                                                        <span class="fs-13">Order Placed</span>
index fb400a131e4341cfb0cb8ba03f5e3f3e0f96fc61..df3315b0ebe91e718448090ee377ad2827c1443e 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 if(empty($_SESSION["admin_id"])) { header("Location: /login/login2/"); exit(); }
 global $tstart,$light,$modul,$act, $db, $CONFIG_SETKA;?>
 <!DOCTYPE html>
@@ -8,7 +8,7 @@ global $tstart,$light,$modul,$act, $db, $CONFIG_SETKA;?>
                <meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=0'>
                <title>ERP</title>
 
-<?
+<?php
 require_once('/var/www/mebel-online/data/www/erp.bazacvetov24.ru/inc/compress_timestamp.php');         //load timestamp created by compress.php module
 //sets field $compress_stamp=unix_timestamp                                    
 // if (stripos($_SERVER['HTTP_ACCEPT_ENCODING'],'GZIP')!==false)               $gz='gz';else   $gz=null;
index 749bb73659b4eb8949dd376adfecf0ecbf742b92..2f9c62f88e85150665755a74bc137ff23688e94b 100644 (file)
@@ -60,7 +60,7 @@ use yii_app\helpers\PrintBlockHelper;
             ]
         ])->label(false)); ?>
 
-<? /*
+<?php/*
     <?php PrintBlockHelper::printBlock('Статусы групп уроков', $filterForm->field($filterModel, 'lesson_group_status')
         ->widget(Select2::class, [
             'data' => $lessonGroupStatuses,