SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';

CREATE TABLE `cp_filephp` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `modul` varchar(20) DEFAULT NULL,
  `slug` varchar(99) DEFAULT NULL,
  `name` varchar(99) DEFAULT NULL,
  `param` varchar(99) DEFAULT NULL,
  `method` varchar(99) NOT NULL DEFAULT 'POST',
  `folder` varchar(20) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `remark` varchar(150) DEFAULT NULL,
  `st` tinyint(4) NOT NULL,
  `type` tinyint(4) NOT NULL DEFAULT 1 COMMENT '1=api,2=non api',
  `del` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1=delete',
  `update_at` int(11) NOT NULL DEFAULT 0,
  `create_at` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `folder_slug` (`folder`,`slug`),
  KEY `id_folder_slug` (`id`,`folder`,`slug`),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `cp_filephp` VALUES('1','','cp/index','','','GET','sub/travel/','','','0','0','0','1758601307','0');
INSERT INTO `cp_filephp` VALUES('2','','cp/inc/inc.filephp','','','GET','sub/travel/','','','0','0','0','1758601321','0');
INSERT INTO `cp_filephp` VALUES('3','','cp/tes_curl','','','GET','sub/travel/','','','0','0','0','1758601335','0');
INSERT INTO `cp_filephp` VALUES('4','','api/v2/index','','','GET','sub/travel/','','','0','0','0','1758600445','0');
INSERT INTO `cp_filephp` VALUES('5','','api/v2/php/bank','','','GET','sub/travel/','','','0','1','0','1758600464','0');
INSERT INTO `cp_filephp` VALUES('6','','api/v2/php/agent','','','GET','sub/travel/','','','0','1','0','1758600474','0');
INSERT INTO `cp_filephp` VALUES('7','','common.function','','','GET','sub/travel/','','','0','0','0','1758601397','0');
INSERT INTO `cp_filephp` VALUES('8','','inc.ar','','','GET','sub/travel/','','','0','0','0','1758601421','0');
INSERT INTO `cp_filephp` VALUES('9','','inc.ar.app','','','GET','sub/travel/','','','0','0','0','1758601434','0');
INSERT INTO `cp_filephp` VALUES('10','','inc.app.function','','','GET','sub/travel/','','','0','0','0','1758601454','0');
INSERT INTO `cp_filephp` VALUES('11','','api/v2/inc.mail','','','GET','sub/travel/','','','0','0','0','1758601503','0');
INSERT INTO `cp_filephp` VALUES('12','','cp/header','','','GET','sub/travel/','','','0','0','0','1758601792','0');
INSERT INTO `cp_filephp` VALUES('13','','cp/footer','','','GET','sub/travel/','','','0','0','0','1758601801','0');
INSERT INTO `cp_filephp` VALUES('14','','cp/ucol','','','GET','sub/travel/','','','0','0','0','1758601984','0');
INSERT INTO `cp_filephp` VALUES('15','','cp/inc/inc.member','','','GET','sub/travel/','','','0','0','0','1758605826','0');
INSERT INTO `cp_filephp` VALUES('16','','cp/inc/inc.rs4_filephp','','','GET','sub/travel/','','','0','0','0','1758780163','0');
INSERT INTO `cp_filephp` VALUES('17','','api/v2/index-','','','GET','sub/travel/','','','0','0','0','1758857708','0');
INSERT INTO `cp_filephp` VALUES('18','','cp/inc/inc.t6_css','','','GET','sub/travel/','','','0','0','0','1759054398','0');
INSERT INTO `cp_filephp` VALUES('19','','cp/inc/inc.t6_jsf','','','GET','sub/travel/','','','0','0','0','1759054458','0');
INSERT INTO `cp_filephp` VALUES('20','','cp/inc/inc.t6_html','','','GET','sub/travel/','','','0','0','0','1759054465','0');
INSERT INTO `cp_filephp` VALUES('21','','cp/inc/inc.t6_js','','','GET','sub/travel/','','','0','0','0','1759055000','0');
INSERT INTO `cp_filephp` VALUES('22','','cp/inc/inc.t6_h_tab','','','GET','sub/travel/','','','0','0','0','1759055015','0');
INSERT INTO `cp_filephp` VALUES('23','','cp/inc/inc.t6_h_page','','','GET','sub/travel/','','','0','0','0','1759055024','0');


CREATE TABLE `cp_filephp_2` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `modul` varchar(20) DEFAULT NULL,
  `slug` varchar(99) DEFAULT NULL,
  `name` varchar(99) DEFAULT NULL,
  `param` text DEFAULT NULL,
  `method` varchar(99) NOT NULL DEFAULT 'POST',
  `folder` varchar(40) DEFAULT NULL,
  `php` text DEFAULT NULL,
  `body` text DEFAULT NULL,
  `remark` varchar(150) DEFAULT NULL,
  `st` tinyint(4) NOT NULL,
  `type` tinyint(4) NOT NULL DEFAULT 1 COMMENT '1=api,2=non api',
  `del` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1=delete',
  `update_at` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `folder_slug` (`folder`,`slug`),
  KEY `id_folder_slug` (`id`,`folder`,`slug`),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=171 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `cp_filephp_2` VALUES('1','post','index','item','','GET','sub/cps1/','','','','0','1','0','1759989628');
INSERT INTO `cp_filephp_2` VALUES('10','','header','','','GET','sub/cps1/','','','','0','1','0','1759905610');
INSERT INTO `cp_filephp_2` VALUES('11','','footer','','','GET','sub/cps1/','','','','0','1','0','1746796610');
INSERT INTO `cp_filephp_2` VALUES('12','','inc/inc.filephp','','','GET','sub/cps1/','','','','0','1','0','1747094450');
INSERT INTO `cp_filephp_2` VALUES('19','','app.function','','','GET','sub/cps1/','','','','0','1','0','1746796578');
INSERT INTO `cp_filephp_2` VALUES('23','','inc.ar','','','GET','sub/cps1/','','','','0','1','0','1759376547');
INSERT INTO `cp_filephp_2` VALUES('86','','inc/inc.t6_js','','','GET','sub/cps1/','','','','0','1','0','1759377082');
INSERT INTO `cp_filephp_2` VALUES('90','','inc/inc.t6_h_page','','','GET','sub/cps1/','','','','0','1','0','1759881118');
INSERT INTO `cp_filephp_2` VALUES('91','','inc/inc.t6_h_tab','','','GET','sub/cps1/','','','','0','1','0','1759871658');
INSERT INTO `cp_filephp_2` VALUES('92','','inc/inc.t6_css','','','GET','sub/cps1/','','','','0','1','0','1759990682');
INSERT INTO `cp_filephp_2` VALUES('93','','inc/inc.t6_jsf','','','GET','sub/cps1/','','','','0','1','0','1759121890');
INSERT INTO `cp_filephp_2` VALUES('94','','common.function','','','GET','sub/cps1/','','','','0','1','0','1759804978');
INSERT INTO `cp_filephp_2` VALUES('95','','inc/inc.t6_html','','','GET','sub/cps1/','','','','0','1','0','1759124795');
INSERT INTO `cp_filephp_2` VALUES('96','','api/pages','','','GET','sub/cps1/','','','','0','1','0','1759728484');
INSERT INTO `cp_filephp_2` VALUES('97','','allfiles','','','GET','sub/cps1/','','','','0','1','0','1759808998');
INSERT INTO `cp_filephp_2` VALUES('98','','inc/inc.t6_lang','','','GET','sub/cps1/','','','','0','1','0','1759809597');
INSERT INTO `cp_filephp_2` VALUES('99','','inc/inc.network','','','GET','sub/cps1/','','','','0','1','0','1759804528');
INSERT INTO `cp_filephp_2` VALUES('100','','inc/inc.t6_css_child','','','GET','sub/cps1/','','','','0','1','0','1759842297');
INSERT INTO `cp_filephp_2` VALUES('101','','jsoneditor','','','GET','sub/cps1/','','','','0','1','0','1759905821');
INSERT INTO `cp_filephp_2` VALUES('102','','inc/inc.t6_cssf','','','GET','sub/cps1/','','','','0','1','0','1759989569');


CREATE TABLE `cp_sphp` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `modul` varchar(99) DEFAULT NULL,
  `name` varchar(99) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `is` varchar(10) DEFAULT '0',
  `del` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1=delete',
  `level` tinyint(4) NOT NULL DEFAULT 0,
  `parent` int(11) NOT NULL DEFAULT 0,
  `update_at` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `folder_name` (`modul`(20),`name`),
  KEY `id_folder_slug` (`id`,`modul`(20)),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=87 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `cp_sphp` VALUES('1','api','api','','php','0','1','0','1748424030');
INSERT INTO `cp_sphp` VALUES('2','app','app','','php','0','1','0','0');
INSERT INTO `cp_sphp` VALUES('3','common','common','','php','0','1','0','1748689002');
INSERT INTO `cp_sphp` VALUES('4','api','transaction_byid','function transaction_byid() {
\n  global $ar,$db;
\n  $dt=array();
\n  $sql="SELECT * from `transaction` where id>0 order by id";
\n  $res2=mysqli_query($db,$sql);
\n  while($r2=mysqli_fetch_assoc($res2)) {
\n    $d=$r2[\'id\'];
\n    $dt[$d]=$r2;    
\n    if($r2[\'inout\']==2) {
\n      $rp="-".ang2($r2[\'amount\']);
\n      $col="red";
\n    } else {
\n      $rp=ang2($r2[\'amount\']);
\n      $col="green"; 
\n    }
\n    $dt[$d][\'rp\']=$rp;    
\n    $dt[$d][\'col\']=$col;    
\n    $dt[$d][\'act_datetime\']=date("Y-m-d H:i:s",$r2[\'action_at\']);
\n    $dt[$d][\'act_date\']=date("Y-m-d",$r2[\'action_at\']);
\n    $dt[$d][\'act_month\']=date("Y-m",$r2[\'action_at\']);
\n    $dt[$d][\'update\']=date("Y-m-d H:i:s",$r2[\'update_at\']);
\n  }
\n  return $dt;    
\n}','php','0','2','1','1748424212');
INSERT INTO `cp_sphp` VALUES('5','api','transaction_byseq','function transaction_byseq() {
\n  global $ar,$db;
\n  $dt=array();
\n  $sql="SELECT * from `transaction` where id>0 order by id desc";
\n  $res2=mysqli_query($db,$sql);
\n  $d=0;
\n  while($r2=mysqli_fetch_assoc($res2)) {
\n    //$d=$r2[\'id\'];
\n    $dt[$d]=$r2;    
\n    if($r2[\'inout\']==2) {
\n      $rp="-".ang2($r2[\'amount\']);
\n      $col="red";
\n    } else {
\n      $rp=ang2($r2[\'amount\']);
\n      $col="green"; 
\n    }
\n    $dt[$d][\'rp\']=$rp;    
\n    $dt[$d][\'col\']=$col;    
\n    $dt[$d][\'image\']=$ar[\'imgurl\']."".$r2[\'img\'];  
\n    $dt[$d][\'act_datetime\']=date("Y-m-d H:i:s",$r2[\'action_at\']);
\n    $dt[$d][\'act_date\']=date("Y-m-d",$r2[\'action_at\']);
\n    $dt[$d][\'act_month\']=date("Y-m",$r2[\'action_at\']);
\n    $dt[$d][\'update\']=date("Y-m-d H:i:s",$r2[\'update_at\']);
\n    $d++;
\n  }
\n  return $dt;    
\n}','php','0','2','1','1748424234');
INSERT INTO `cp_sphp` VALUES('6','api','journal_add','function journal_add($transaction_id) {
\n  global $ar,$db;
\n  $dt=array();
\n  $sql = "select * from transaction where id=".$transaction_id;
\n  $res = mysqli_query($db, $sql);
\n  //echo $sql;
\n  $r1 = mysqli_fetch_assoc($res);    
\n
\n    $sql3 = "select id,id2,id-id2 as k from journal where id-id2>0 order by id2 limit 1";
\n    $res3 = mysqli_query($db, $sql3);
\n    if(mysqli_num_rows($res3)>0) {
\n      $rw3 = mysqli_fetch_assoc($res3);
\n      $id2=$rw3[\'id2\'];
\n    } else {
\n      $sql4 = "select * from journal order by id desc limit 1";
\n      $res4 = mysqli_query($db, $sql4);
\n      $rw4 = mysqli_fetch_assoc($res4);
\n      if(isset($rw4[\'id\']) && $rw4[\'id\']>0) {
\n        $id2=$rw4[\'id\']+1;
\n      } else {
\n        $id2=1;
\n      }
\n    }
\n
\n    $idt1=array(
\n      \'id\'=>$id2,
\n      \'transaction_id\'=>$r1[\'id\'],
\n      \'action_at\'=>$r1[\'action_at\'],
\n      \'amount\'=>to_numeric($r1[\'amount\']),
\n      \'debit\'=>to_numeric($r1[\'amount\']),
\n      \'inout\'=>1,
\n      \'account_code\'=>$r1[\'debit\'],
\n      \'action_id\'=>$r1[\'action_id\'],
\n      \'seq\'=>$r1[\'seq\'],
\n      \'year\'=>date("Y",$r1[\'action_at\']),
\n      \'week\'=>date("W",$r1[\'action_at\']),
\n      \'month\'=>date("Ym",$r1[\'action_at\']),
\n    ); 
\n    $udt1=array(
\n      \'transaction_id\'=>$r1[\'id\'],
\n      \'action_at\'=>$r1[\'action_at\'],
\n      \'amount\'=>to_numeric($r1[\'amount\']),
\n      \'debit\'=>to_numeric($r1[\'amount\']),
\n      \'inout\'=>1,
\n      \'account_code\'=>$r1[\'debit\'],
\n      \'action_id\'=>$r1[\'action_id\'],
\n      \'seq\'=>$r1[\'seq\'],
\n      \'year\'=>date("Y",$r1[\'action_at\']),
\n      \'week\'=>date("W",$r1[\'action_at\']),
\n      \'month\'=>date("Ym",$r1[\'action_at\']),
\n      \'update_at\'=>time(),
\n    );
\n    InsertUpdate($db,"journal",$idt1,$udt1,0); 
\n    tool_id2("journal"); 
\n
\n    $sql3 = "select id,id2,id-id2 as k from journal where id-id2>0 order by id2 limit 1";
\n    $res3 = mysqli_query($db, $sql3);
\n    if(mysqli_num_rows($res3)>0) {
\n      $rw3 = mysqli_fetch_assoc($res3);
\n      $id2=$rw3[\'id2\'];
\n    } else {
\n      $sql4 = "select * from journal order by id desc limit 1";
\n      $res4 = mysqli_query($db, $sql4);
\n      $rw4 = mysqli_fetch_assoc($res4);
\n      if(isset($rw4[\'id\']) && $rw4[\'id\']>0) {
\n        $id2=$rw4[\'id\']+1;
\n      } else {
\n        $id2=1;
\n      }
\n    }
\n
\n    $idt2=array(
\n      \'id\'=>$id2,
\n      \'action_at\'=>$r1[\'action_at\'],
\n      \'seq\'=>$r1[\'seq\'],
\n      \'transaction_id\'=>$r1[\'id\'],
\n      \'action_id\'=>$r1[\'action_id\'],
\n      \'amount\'=>to_numeric($r1[\'amount\']),
\n      \'credit\'=>to_numeric($r1[\'amount\']),
\n      \'inout\'=>2,
\n      \'account_code\'=>$r1[\'credit\'],
\n      \'year\'=>date("Y",$r1[\'action_at\']),
\n      \'week\'=>date("W",$r1[\'action_at\']),
\n      \'month\'=>date("Ym",$r1[\'action_at\']),
\n    ); 
\n    $udt2=array(
\n      \'transaction_id\'=>$r1[\'id\'],
\n      \'action_id\'=>$r1[\'action_id\'],
\n      \'action_at\'=>$r1[\'action_at\'],
\n      \'seq\'=>$r1[\'seq\'],
\n      \'amount\'=>to_numeric($r1[\'amount\']),
\n      \'credit\'=>to_numeric($r1[\'amount\']),
\n      \'inout\'=>2,
\n      \'account_code\'=>$r1[\'credit\'],
\n      \'year\'=>date("Y",$r1[\'action_at\']),
\n      \'week\'=>date("W",$r1[\'action_at\']),
\n      \'month\'=>date("Ym",$r1[\'action_at\']),
\n      \'update_at\'=>time(),
\n    );
\n    InsertUpdate($db,"journal",$idt2,$udt2,0); 
\n    tool_id2("journal");  
\n    account_equation($r1); 
\n    $dt[\'message\']="journal & account_equation added";
\n    //$dt[\'account_equation\']=account_equation($r1);    
\n    //JournalCount(date("Y",$r1[\'action_at\']));
\n    return $dt;
\n}','php','0','2','1','1748424288');
INSERT INTO `cp_sphp` VALUES('7','api','action_add_v2','function action_add_v2($js){
\n  global $ar,$db;
\n  $dt=array();
\n
\n  $sql3 = "select id,id2,id-id2 as k from `action` where id-id2>0 order by id2 limit 1";
\n  $res3 = mysqli_query($db, $sql3);
\n  if(mysqli_num_rows($res3)>0) {
\n    $rw3 = mysqli_fetch_assoc($res3);
\n    $id2=$rw3[\'id2\'];
\n  } else {
\n    $sql4 = "select * from `action` order by id desc limit 1";
\n    $res4 = mysqli_query($db, $sql4);
\n    $rw4 = mysqli_fetch_assoc($res4);
\n    if(isset($rw4[\'id\']) && $rw4[\'id\']>0) {
\n      $id2=$rw4[\'id\']+1;
\n    } else {
\n      $id2=1;
\n    }
\n  }
\n
\n  $idt=array(
\n    \'id\'=>$id2,
\n    \'action_at\'=>strtotime($js[\'action_at\']),
\n    \'descr\'=>$js[\'descr\'],
\n    \'cat\'=>$js[\'cat\'],
\n    \'inout\'=>$js[\'inout\'],
\n    \'bank\'=>$js[\'bank\'],
\n    \'amount\'=>$js[\'amount\'],
\n    \'year\'=>date("Y",strtotime($js[\'action_at\'])),
\n    \'month\'=>date("Ym",strtotime($js[\'action_at\'])),
\n    \'tgl\'=>date("Y-m-d",strtotime($js[\'action_at\'])),
\n    \'update_at\'=>time(),
\n  );
\n  if(isset($js[\'pay_to\'])) {
\n    $idt[\'pay_to\']=$js[\'pay_to\'];  
\n  }
\n  if(isset($js[\'pay_from\'])) {
\n    $idt[\'pay_from\']=$js[\'pay_from\'];  
\n  }
\n  if(isset($js[\'invoice\'])) {
\n    $idt[\'invoice\']=$js[\'invoice\'];  
\n  }
\n  if(isset($js[\'reff_sales_id\'])) {
\n    $idt[\'reff_sales_id\']=$js[\'reff_sales_id\'];  
\n  }
\n  Insert($db,"action",$idt,0);  
\n  tool_id2("action");
\n  $dt[\'action_id\']=$id2;
\n  $dt[\'success\']=true;
\n  return $dt;
\n}','php','0','2','1','1748589472');
INSERT INTO `cp_sphp` VALUES('8','api','sales_action_v2','function sales_action_v2($js,$v=0) {
\n  global $db,$ar;
\n  $dt=array();
\n/*  
\n
\ncat=4=jual tunai
\n- id1
\n- persediaan berkurang //credit: 11202
\n- hpp debit //51100
\n
\n-id2
\n- terima cash dr penjualan //debit 11101
\n- penjualan bertambah //credit 41100
\n
\ncat=7=jual kredit
\n- id1
\n- persediaan berkurang //credit: 11202
\n- hpp debit //51100
\n
\n-id2
\n- piutang berambah dr penjualan //debit 11201
\n- penjualan bertambah //credit 41100
\n
\nitem_inout=2 (berkurang)
\n
\ncat=1, retur dr agen, menambah persediaan, mengurangi piutang
\ncat=2, retur ke supplier, mengurangi utang dan persediaan
\npersediaan/11202 dan utang dagang 21100
\n*/
\n
\n
\n  $sql4 = "select id from `action` order by id desc limit 1";
\n  $res4 = mysqli_query($db, $sql4);
\n  $r4 = mysqli_fetch_assoc($res4);
\n  $id1=$r4[\'id\']+1;
\n  $id2=$r4[\'id\']+2;
\n
\n  //catat penjualan-hpp
\n
\n  $idt1=array(
\n    \'id\'=>$id1,
\n    \'action_at\'=>strtotime($js[\'action_at\']),
\n    \'pay_from\'=>$js[\'pay_from\'],
\n    \'invoice\'=>$js[\'invoice\'],
\n    \'reff_sales_id\'=>$js[\'reff_sales_id\'],
\n    \'inout\'=>1,
\n    \'descr\'=>$js[\'descr\'],
\n    \'bank\'=>0,
\n    \'cat\'=>$js[\'cat\'],
\n    \'amount\'=>$js[\'qty\']*$js[\'hpp\'],
\n    \'year\'=>date("Y",strtotime($js[\'action_at\'])),
\n    \'month\'=>date("Ym",strtotime($js[\'action_at\'])),
\n    \'tgl\'=>date("Y-m-d",strtotime($js[\'action_at\'])),
\n    \'update_at\'=>time(),
\n  );
\n  Insert($db,"action",$idt1,$v);
\n  $js1=$js;
\n  $js1[\'action_id\']=$id1;
\n  $js1[\'debit\']=51100; //hpp
\n  $js1[\'credit\']=11202; //persediaan
\n  //$dt[\'trx\']=transaction_add_v2($js1);
\n  transaction_add_v2($js1);
\n
\n  $rr[\'descr\'][4]   ="Terima cash dari ";
\n  $rr[\'debit\'][4]   =11101;
\n  $rr[\'credit\'][4]  =41100;
\n  $rr[\'bank\'][4]    =1;
\n
\n  $rr[\'descr\'][7]   ="Piutang ".$js[\'due_days\']." hari dari ";
\n  $rr[\'debit\'][7]   =11201;
\n  $rr[\'credit\'][7]  =41100;
\n  $rr[\'bank\'][7]    =0;
\n
\n
\n
\n  // catat cash-penjuala (jika 4), piutang-penjualan (jika 7)
\n  $idt2=array(
\n    \'id\'=>$id2,
\n    \'action_at\'=>strtotime($js[\'action_at\']),
\n    \'pay_from\'=>$js[\'pay_from\'],
\n    \'invoice\'=>$js[\'invoice\'],
\n    \'reff_sales_id\'=>$js[\'reff_sales_id\'],
\n    \'inout\'=>1,
\n    \'descr\'=>$rr[\'descr\'][$js[\'cat\']]." ".$js[\'descr\'],
\n    \'bank\'=>$rr[\'bank\'][$js[\'cat\']],
\n    \'cat\'=>$js[\'cat\'],
\n    \'amount\'=>$js[\'qty\']*$js[\'price_per_unit\'],
\n    \'year\'=>date("Y",strtotime($js[\'action_at\'])),
\n    \'month\'=>date("Ym",strtotime($js[\'action_at\'])),
\n    \'tgl\'=>date("Y-m-d",strtotime($js[\'action_at\'])),
\n    \'update_at\'=>time(),
\n  );
\n  Insert($db,"action",$idt2,$v);
\n  $js2=$js;
\n  $js2[\'action_id\']=$id2;
\n  $js2[\'debit\']=$rr[\'debit\'][$js[\'cat\']];
\n  $js2[\'credit\']=$rr[\'credit\'][$js[\'cat\']];
\n  //$dt[\'trx\']=transaction_add_v2($js2);
\n  transaction_add_v2($js2);
\n
\n  //catat di product_trx
\n  $js3[\'action_at\']=strtotime($js[\'action_at\']);
\n  $js3[\'inout\']=2;
\n  $js3[\'remark\']=$js[\'descr\'];
\n  $js3[\'action_id\']=$id1;
\n  product_trx($js3);
\n  $dt[\'message\']="add transaction succes";
\n
\n  $udt_41=array(
\n    \'action_id_1\'=>$id1,
\n    \'action_id_2\'=>$id2,
\n  );
\n  Update($db,"sales",$udt_41,"id=".$js[\'reff_sales_id\'],$v);
\n
\n  return $dt;
\n}','php','0','2','1','1748768668');
INSERT INTO `cp_sphp` VALUES('9','api','bank','function bank(){
\n  global $ar,$db;
\n  $dt=array();
\n  $sql2="SELECT * from `bank` where del=0";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n  $dt[\'count\']=$r2;
\n  $dt[\'success\']=true;
\n
\n  $sql=$sql2." order by id desc";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'data\'][$c]=$r1;    
\n      $dt[\'data\'][$c][\'rp\']=ang2($r1[\'amount\']);    
\n      $dt[\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n      $c++;
\n    }
\n  } else {
\n    $dt[\'count\']=0;
\n    $dt[\'error\']=true;
\n    $dt[\'message\']="data action not found";
\n  }
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748499497');
INSERT INTO `cp_sphp` VALUES('10','api','company','function company(){
\n  global $ar,$db;
\n  $dt=array();
\n  $sql2="SELECT * from `company` where del=0";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n  $dt[\'count\']=$r2;
\n  $dt[\'success\']=true;
\n
\n  $sql=$sql2." order by name";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'data\'][$c]=$r1;    
\n      $dt[\'data\'][$c][\'image\']=$ar[\'imgurl\']."".$r1[\'img\'];    
\n      $dt[\'data\'][$c][\'as\']=$ar[\'relation\'][$r1[\'relation\']];    
\n      $dt[\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n      $c++;
\n    }
\n  } else {
\n    $dt[\'count\']=0;
\n    $dt[\'error\']=true;
\n    $dt[\'message\']="data action not found";
\n  }
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748475588');
INSERT INTO `cp_sphp` VALUES('11','api','person','function person(){
\n  global $ar,$db;
\n  $dt=array();
\n  $sql2="SELECT * from `person` where del=0";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n  $dt[\'count\']=$r2;
\n  $dt[\'success\']=true;
\n
\n  $sql=$sql2." order by id";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'data\'][$c]=$r1;    
\n      $dt[\'data\'][$c][\'image\']=$ar[\'imgurl\']."".$r1[\'img\'];    
\n      $dt[\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n      $c++;
\n    }
\n  } else {
\n    $dt[\'count\']=0;
\n  }  
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748477025');
INSERT INTO `cp_sphp` VALUES('12','api','product','function product(){
\n  global $ar,$db;  
\n  $dt=array();
\n  $dt2=array();
\n  //id,name,brand,qty,item_code,price_per_unit,update_at
\n  $sql2="SELECT `brand` from `product` where `del`=0 group by `brand` order by `brand`";
\n  $res2=mysqli_query($db,$sql2);
\n  //$dt[\'count\']=$r2;
\n  $count=0;
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r2=mysqli_fetch_assoc($res2)) {
\n      $dt[\'data\'][\'by_brand\'][$c][\'brand\']=$r2[\'brand\'];
\n      $sql3="SELECT id,name,qty,item_code,price_per_unit,img,update_at from `product` where del=0 and brand=\'".$r2[\'brand\']."\' order by `name`";
\n      $res3=mysqli_query($db,$sql3);
\n      $d=0;
\n      while($r3=mysqli_fetch_assoc($res3)) {
\n        $i_img_med=str_replace(\'small\',\'medium\',$r3[\'img\']);
\n        $i_img_big=str_replace(\'small\',\'big\',$r3[\'img\']);
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d]=$r3;
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'url_img\']=$ar[\'img_url\'].\'\'.$r3[\'img\'];
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'url_img_medium\']=$ar[\'img_url\'].\'\'.$i_img_med;
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'url_img_big\']=$ar[\'img_url\'].\'\'.$i_img_big;
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'hpp\']=ang2($r3[\'price_per_unit\']);
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'amount\']=ang2($r3[\'price_per_unit\']*$r3[\'qty\']);
\n        $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'update\']=date("Y-m-d H:i:s",$r3[\'update_at\']);
\n
\n        $sql4="SELECT a.id,a.action_id,a.transaction_id,a.item_in,a.item_out,a.`balance`,a.invoice,a.tgl,a.`inout`,b.descr from `product_trx` a JOIN `action` b ON a.action_id=b.id where product_id=".$r3[\'id\']." order by a.action_at,a.action_id ";
\n        $res4=mysqli_query($db,$sql4);
\n        $e=0;
\n        while($r4=mysqli_fetch_assoc($res4)) {
\n          $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'trx\'][$e]=$r3;
\n          $dt[\'data\'][\'by_brand\'][$c][\'items\'][$d][\'trx\'][$e][\'amount\']=ang2($r3[\'balance\']*$r1[\'price_per_unit\']);
\n          $e++;
\n        }        
\n        $d++;
\n        $count++;
\n      }
\n      $c++;
\n    }
\n
\n    
\n    $sql5="SELECT id,name,img,brand,qty,item_code,price_per_unit,update_at from `product` where del=0 order by id";
\n    //echo $sql.";<br>";
\n    $res5=mysqli_query($db,$sql5);
\n    while($r5=mysqli_fetch_assoc($res5)) {
\n      $c=$r5[\'id\'];
\n
\n      $i_img_med=str_replace(\'small\',\'medium\',$r5[\'img\']);
\n      $i_img_big=str_replace(\'small\',\'big\',$r5[\'img\']);
\n
\n      $dt[\'data\'][\'by_id\'][$c]=$r5;
\n      $dt[\'data\'][\'by_id\'][$c][\'url_img\']=$ar[\'img_url\'].\'\'.$r5[\'img\'];
\n      $dt[\'data\'][\'by_id\'][$c][\'url_img_medium\']=$ar[\'img_url\'].\'\'.$i_img_med;
\n      $dt[\'data\'][\'by_id\'][$c][\'url_img_big\']=$ar[\'img_url\'].\'\'.$i_img_big;
\n      $dt[\'data\'][\'by_id\'][$c][\'hpp\']=ang2($r5[\'price_per_unit\']);
\n      $dt[\'data\'][\'by_id\'][$c][\'amount\']=ang2($r5[\'price_per_unit\']*$r5[\'qty\']);
\n      $dt[\'data\'][\'by_id\'][$c][\'update\']=date("Y-m-d H:i:s",$r5[\'update_at\']);
\n      $sql6="SELECT a.id,a.action_id,a.transaction_id,a.item_in,a.item_out,a.`balance`,a.invoice,a.tgl,a.`inout`,b.descr from `product_trx` a JOIN `action` b ON a.action_id=b.id where product_id=".$r5[\'id\']." order by a.action_at,a.action_id ";
\n      $res6=mysqli_query($db,$sql6);
\n      $d=0;
\n      while($r6=mysqli_fetch_assoc($res6)) {
\n        $dt[\'data\'][\'by_id\'][$c][\'trx\'][$d]=$r6;
\n        $dt[\'data\'][\'by_id\'][$c][\'trx\'][$d][\'amount\']=ang2($r6[\'balance\']*$r5[\'price_per_unit\']);
\n        $d++;
\n      }
\n    }
\n
\n    $dt[\'count\']=$count;
\n    $dt[\'success\']=true;
\n  } else {
\n    $dt[\'count\']=0;
\n  }  
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748481911');
INSERT INTO `cp_sphp` VALUES('13','api','action_byid','function action_byid() {
\n  global $ar,$db;
\n  $dt=array();
\n  $sql="SELECT * from `action` where id>0 order by id";
\n  $res2=mysqli_query($db,$sql);
\n  while($r2=mysqli_fetch_assoc($res2)) {
\n    $d=$r2[\'id\'];
\n    $dt[$d]=$r2;    
\n    if($r2[\'inout\']==2) {
\n      $rp="-".ang2($r2[\'amount\']);
\n      $col="red";
\n      $p3=$r2[\'pay_to\'];       
\n    } else {
\n      $rp=ang2($r2[\'amount\']);
\n      $col="green"; 
\n      $p3=$r2[\'pay_from\'];       
\n    }
\n    $dt[$d][\'rp\']=$rp;    
\n    $dt[$d][\'col\']=$col;    
\n    $dt[$d][\'p3\']=$p3;    
\n    $dt[$d][\'image\']=$ar[\'imgurl\']."".$r2[\'img\'];  
\n    $dt[$d][\'act_datetime\']=date("Y-m-d H:i:s",$r2[\'action_at\']);
\n    $dt[$d][\'act_date\']=date("Y-m-d",$r2[\'action_at\']);
\n    $dt[$d][\'act_month\']=date("Y-m",$r2[\'action_at\']);
\n    $dt[$d][\'update\']=date("Y-m-d H:i:s",$r2[\'update_at\']);
\n  }
\n  return $dt;    
\n}','php','0','2','1','1748423982');
INSERT INTO `cp_sphp` VALUES('14','app','tool_id2','function tool_id2($tbl) {
\n  global $db,$ar;
\n  $sql = "select * from ".$tbl." order by id";
\n  $res = mysqli_query($db, $sql);
\n  $id2=1;
\n  while($rw = mysqli_fetch_assoc($res)) {
\n    $udt=array(
\n      \'id2\'=>$id2,
\n    );    
\n    Update($db,$tbl,$udt,"id=".$rw[\'id\'],0);
\n    $id2++;
\n  }  
\n}','php','0','2','2','1748499552');
INSERT INTO `cp_sphp` VALUES('15','app','tool_id3','function tool_id3($tbl) {
\n  global $db,$ar;
\n  
\n  $sql4 = "select id from ".$tbl." where id2=id order by id desc limit 1";
\n  $res4 = mysqli_query($db, $sql4);
\n  $rw4 = mysqli_fetch_assoc($res4);
\n  if(isset($rw4) && $rw4[\'id\']>0) {        
\n    $sql = "select * from ".$tbl." where id>".$rw4[\'id\']." order by id";
\n    $res = mysqli_query($db, $sql);
\n    $id2=$rw4[\'id\']+1;
\n    while($rw = mysqli_fetch_assoc($res)) {
\n      $udt=array(
\n          \'id2\'=>$id2,
\n      );
\n      Update($db,$tbl,$udt,"id=".$rw[\'id\'],0);
\n      $id2++;
\n    }  
\n  }
\n}','php','0','2','2','1748499593');
INSERT INTO `cp_sphp` VALUES('16','app','product_trx_count','function product_trx_count() {
\n  global $db,$ar;
\n  
\n  $sql4 = "select product_id from product_trx group by product_id";
\n  $res4 = mysqli_query($db, $sql4);
\n  while($rw4 = mysqli_fetch_assoc($res4)) {
\n    $sql = "select * from product_trx where product_id=".$rw4[\'product_id\']." order by action_at";
\n    $res = mysqli_query($db, $sql);
\n    $j[\'balance\']=0;
\n    while($r=mysqli_fetch_assoc($res)) {
\n      $j[\'balance\']=$j[\'balance\']+$r[\'item_in\']-$r[\'item_out\'];
\n      $udt=array(
\n        \'balance\'=>$j[\'balance\'],
\n      );
\n      Update($db,"product_trx",$udt,"id=".$r[\'id\'],0);
\n    }
\n    $udt=array(
\n      \'qty\'=>$j[\'balance\'],
\n    );
\n    Update($db,"product",$udt,"id=".$rw4[\'product_id\'],0);
\n  }
\n}','php','0','2','2','1748594290');
INSERT INTO `cp_sphp` VALUES('17','app','product_trx','function product_trx($js) {
\n  global $db,$ar;
\n  //$dt=array();
\n  //echo "<pre>"; print_r($js); echo "</pre>";
\n  //beli=add inout=1; jual=minus; inout=2
\n  $sql4 = "select id from product_trx order by id desc limit 1";
\n  $res4 = mysqli_query($db, $sql4);
\n  $rw4 = mysqli_fetch_assoc($res4);
\n  if(isset($rw4) && $rw4[\'id\']>0) {        
\n    $id2=$rw4[\'id\']+1;
\n  } else {
\n    $id2=1;
\n  }
\n  $idt=array(
\n    \'id\'=>$id2,
\n    \'action_at\'=>$js[\'action_at\'],
\n    \'action_id\'=>$js[\'action_id\'],
\n    \'product_id\'=>$js[\'product_id\'],
\n    \'item_code\'=>$js[\'item_code\'],
\n    \'inout\'=>$js[\'inout\'],
\n    \'invoice\'=>$js[\'invoice\'],
\n    \'remark\'=>$js[\'descr\'],
\n    \'year\'=>date("Y",$js[\'action_at\']),
\n    \'month\'=>date("Ym",$js[\'action_at\']),
\n    \'tgl\'=>date("Y-m-d",$js[\'action_at\']),
\n    \'update_at\'=>time(),
\n  );
\n  $udt=array(
\n    \'action_at\'=>$js[\'action_at\'],
\n    \'action_id\'=>$js[\'action_id\'],
\n    \'product_id\'=>$js[\'product_id\'],
\n    \'item_code\'=>$js[\'item_code\'],
\n    \'inout\'=>$js[\'inout\'],
\n    \'invoice\'=>$js[\'invoice\'],
\n    \'remark\'=>$js[\'descr\'],
\n    \'year\'=>date("Y",$js[\'action_at\']),
\n    \'month\'=>date("Ym",$js[\'action_at\']),
\n    \'tgl\'=>date("Y-m-d",$js[\'action_at\']),
\n    \'update_at\'=>time(),
\n  );
\n  if($js[\'inout\']==1) {
\n    $idt[\'item_in\']=$udt[\'item_in\']=$js[\'qty\'];
\n  } else {
\n    $idt[\'item_out\']=$udt[\'item_out\']=$js[\'qty\'];
\n  }
\n  InsertUpdate($db,"product_trx",$idt,$udt,0);
\n}','php','0','2','2','1748504043');
INSERT INTO `cp_sphp` VALUES('18','app','JournalCount','function JournalCount($year) {
\n  global $db,$ar;
\n  $sql6="update account set sel2=0";
\n  $res6=mysqli_query($db,$sql6);
\n  $sql3="SELECT * from action order by action_at,seq";
\n  $res3=mysqli_query($db,$sql3);
\n  while($r3=mysqli_fetch_assoc($res3)) {
\n      $udt3=array(
\n          \'seq\'=>$r3[\'seq\'],
\n      );
\n      Update($db,"journal",$udt3,"action_id=".$r3[\'id\'],0);
\n      Update($db,"transaction",$udt3,"action_id=".$r3[\'id\'],0);
\n  }
\n  $sql="SELECT account_code from journal group by account_code";
\n  $res=mysqli_query($db,$sql);
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $sql2="SELECT * from journal where year=".$year." and account_code=\'".$r1[\'account_code\']."\' order by action_at asc, seq asc";
\n    //echo $sql2."<br>";
\n    $res2=mysqli_query($db,$sql2);
\n    $bal=0;
\n    $seq2=1;
\n    while($r2=mysqli_fetch_assoc($res2)) {
\n      $bal=$bal+$r2[\'debit\']-$r2[\'credit\'];
\n      $udt=array(
\n        \'balance\'=>$bal,
\n        \'seq2\'=>$seq2,
\n        \'update_at\'=>time(),
\n      );
\n      Update($db,"journal",$udt,"id=".$r2[\'id\'],1);
\n      $seq2++;
\n    } 
\n    $udt4=array(
\n      \'sel2\'=>1,
\n    );
\n    Update($db,"account",$udt4,"code=\'".$r1[\'account_code\']."\'",0);  
\n  }  
\n}','php','0','2','2','1748499670');
INSERT INTO `cp_sphp` VALUES('19','app','JournalCount_v2','function JournalCount_v2($year) {
\n  global $db,$ar;
\n  $sql6="update fcode set sel2=0";
\n  $res6=mysqli_query($db,$sql6);
\n  $sql3="SELECT * from action order by action_at,seq";
\n  $res3=mysqli_query($db,$sql3);
\n  while($r3=mysqli_fetch_assoc($res3)) {
\n      $udt3=array(
\n          \'seq\'=>$r3[\'seq\'],
\n      );
\n      Update($db,"journal",$udt3,"action_id=".$r3[\'id\'],0);
\n      Update($db,"transaction",$udt3,"action_id=".$r3[\'id\'],0);
\n  }
\n  $sql="SELECT account_code from journal group by account_code";
\n  $res=mysqli_query($db,$sql);
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $sql2="SELECT * from journal where year=".$year." and account_code=\'".$r1[\'account_code\']."\' order by action_at asc, seq asc";
\n    //echo $sql2."<br>";
\n    $res2=mysqli_query($db,$sql2);
\n    $bal=0;
\n    $seq2=1;
\n    while($r2=mysqli_fetch_assoc($res2)) {
\n      $bal=$bal+$r2[\'debit\']-$r2[\'credit\'];
\n      $udt=array(
\n        \'balance\'=>$bal,
\n        \'seq2\'=>$seq2,
\n        \'update_at\'=>time(),
\n      );
\n      Update($db,"journal",$udt,"id=".$r2[\'id\'],0);
\n      $seq2++;
\n    } 
\n    $udt4=array(
\n      \'sel2\'=>1,
\n    );
\n    Update($db,"fcode",$udt4,"code=\'c".$r1[\'account_code\']."\'",0);  
\n  }  
\n}','php','0','2','2','1748499696');
INSERT INTO `cp_sphp` VALUES('20','app','ExportfMandiri2','function ExportfMandiri2($id) {
\n  global $db,$ar;  
\n  $sql4 = "select * from mandiri_mutasi where id=".$id;
\n  $res4 = mysqli_query($db, $sql4);
\n  $r4 = mysqli_fetch_assoc($res4);
\n  //echo "<pre>"; print_r($r4); echo "</pre>";
\n  
\n  if($r4[\'debit\']==0) {
\n      $amount=$r4[\'kredit\'];
\n      $inout=2;
\n      $payto="Mandiri IDR ".substr($r4[\'rek\'],-3);
\n      $payfrom="";
\n  } else {
\n      $amount=$r4[\'debit\'];
\n      $inout=1;
\n      $payfrom="Mandiri IDR ".substr($r4[\'rek\'],-3);
\n      $payto="";
\n  }
\n  
\n  if($r4[\'payto\']!=\'\') {
\n      $payto2=$r4[\'payto\'];
\n  } else {
\n      $payto2=$payto;
\n  }
\n
\n  $sql3 = "select * from action where bank=1 and amount=".$amount." and tgl=\'".$r4[\'tgl\']."\'";
\n  echo $sql3."<br>";
\n  $res3 = mysqli_query($db, $sql3);
\n  if(mysqli_num_rows($res3)>0) {
\n    $r3 = mysqli_fetch_assoc($res3);
\n    //echo "<pre>"; print_r($r3); echo "</pre>";
\n    $udt=array(
\n      \'action_id\'=>$r3[\'id\'],
\n    );
\n    Update($db,"mandiri_mutasi",$udt,"id=".$r4[\'id\'],1);
\n      
\n  } else {
\n    $sql2 = "select id from action where id2=id order by id desc limit 1";
\n    $res2 = mysqli_query($db, $sql2);
\n    $r2 = mysqli_fetch_assoc($res2);
\n    $id2=$r2[\'id\']+1;
\n    $idt=array(
\n          \'id\'=>$id2,
\n          \'action_at\'=>$r4[\'tgl2\'],
\n          \'tgl\'=>$r4[\'tgl\'],
\n          \'month\'=>$r4[\'month\'],
\n          \'year\'=>$r4[\'year\'],
\n          \'descr\'=>$r4[\'keterangan\']." ".$r4[\'remark\'],
\n          \'pay_to\'=>$payto2,
\n          \'pay_from\'=>$payfrom,
\n          \'cat\'=>$inout,
\n          \'seq\'=>$r4[\'seq\'],
\n          \'inout\'=>$inout,
\n          \'bank\'=>$ar[\'manp\'][$r4[\'rek\']],
\n          \'amount\'=>$amount,
\n          \'st\'=>1,
\n          \'update_at\'=>time(),
\n    );
\n    Insert($db,"action",$idt,1);
\n    tool_id3("action");      
\n    $udt=array(
\n      \'action_id\'=>$id2,
\n    );
\n    Update($db,"mandiri_mutasi",$udt,"id=".$r4[\'id\'],1);
\n  }  
\n}','php','0','2','2','1748499718');
INSERT INTO `cp_sphp` VALUES('21','app','SalesAction','function SalesAction($p,$v=0) {
\n  global $db,$ar;
\n  //echo "<pre>"; print_r($p); echo "</pre>";
\n  $ar[\'act_desc\'][1]=\'Penerimaan tunai atas\';
\n  $ar[\'act_bank\'][1]=1;
\n  $ar[\'act__cat\'][1]=1;
\n
\n  $ar[\'act_desc\'][2]=\'Piutang kredit \'.$p[\'days_due_date\'].\' atas\';
\n  $ar[\'act_bank\'][2]=0;
\n  $ar[\'act__cat\'][2]=7; //piutang
\n
\n  //cek dulu ref id,
\n  $sql1 = "select id,reff_sales_id from `action` where reff_sales_id=".$p[\'id\'];
\n  $res1 = mysqli_query($db, $sql1);
\n  if(mysqli_num_rows($res1)==0) {
\n    //insert
\n      $sql4 = "select * from `action` order by id desc limit 1";
\n      $res4 = mysqli_query($db, $sql4);
\n      $r4 = mysqli_fetch_assoc($res4);
\n      $id1=$r4[\'id\']+1;
\n      $id2=$r4[\'id\']+2;
\n
\n      $idt1=array(
\n        \'id\'=>$id1,
\n        \'action_at\'=>strtotime($p[\'sales_at\']),
\n        \'reff_sales_id\'=>$p[\'id\'],
\n        \'pay_from\'=>$p[\'buyer\'],
\n        \'invoice\'=>$p[\'invoice\'],
\n        \'inout\'=>1,
\n        \'descr\'=>$p[\'descr\'],
\n        \'bank\'=>0,
\n        \'cat\'=>4,
\n        \'amount\'=>$p[\'qty\']*$p[\'hpp\'],
\n        \'year\'=>date("Y",strtotime($p[\'sales_at\'])),
\n        \'month\'=>date("Ym",strtotime($p[\'sales_at\'])),
\n        \'tgl\'=>date("Y-m-d",strtotime($p[\'sales_at\'])),
\n        \'update_at\'=>time(),
\n      );
\n      Insert($db,"action",$idt1,$v);
\n      $idt2=array(
\n        \'id\'=>$id2,
\n        \'action_at\'=>strtotime($p[\'sales_at\']),
\n        \'reff_sales_id\'=>$p[\'id\'],
\n        \'pay_from\'=>$p[\'buyer\'],
\n        \'invoice\'=>$p[\'invoice\'],
\n        \'inout\'=>1,
\n        \'descr\'=>$ar[\'act_desc\'][$p[\'cash_credit\']]." ".$p[\'descr\'],
\n        \'bank\'=>$ar[\'act_bank\'][$p[\'cash_credit\']],
\n        \'cat\'=>$ar[\'act__cat\'][$p[\'cash_credit\']],
\n        \'amount\'=>$p[\'qty\']*$p[\'price\'],
\n        \'year\'=>date("Y",strtotime($p[\'sales_at\'])),
\n        \'month\'=>date("Ym",strtotime($p[\'sales_at\'])),
\n        \'tgl\'=>date("Y-m-d",strtotime($p[\'sales_at\'])),
\n        \'update_at\'=>time(),
\n      );
\n      Insert($db,"action",$idt2,$v);
\n      $udt_41=array(
\n        \'action_id_1\'=>$id1,
\n        \'action_id_2\'=>$id2,
\n      );
\n      Update($db,"sales",$udt_41,"id=".$p[\'id\'],$v);
\n      //catat di product_trx
\n      $p[\'action_at\']=strtotime($p[\'sales_at\']);
\n      $p[\'inout\']=2;
\n      $p[\'remark\']=$p[\'descr\'];
\n      $p[\'action_id\']=$id1;
\n      product_trx($p);
\n
\n
\n  } else {
\n    $sql2=$sql1." order by id";
\n    $res2 = mysqli_query($db, $sql2);
\n    $dt=array();
\n    while($r2=mysqli_fetch_assoc($res2)) {
\n      $dt[\'id\'][]=$r2[\'id\'];
\n    }
\n    $udt1=array(
\n      \'action_at\'=>strtotime($p[\'sales_at\']),
\n      \'reff_sales_id\'=>$p[\'id\'],
\n      \'pay_from\'=>$p[\'buyer\'],
\n      \'invoice\'=>$p[\'invoice\'],
\n      \'inout\'=>1,
\n      \'descr\'=>$p[\'descr\'],
\n      \'bank\'=>0,
\n      \'cat\'=>4,
\n      \'amount\'=>$p[\'qty\']*$p[\'hpp\'],
\n      \'year\'=>date("Y",strtotime($p[\'sales_at\'])),
\n      \'month\'=>date("Ym",strtotime($p[\'sales_at\'])),
\n      \'tgl\'=>date("Y-m-d",strtotime($p[\'sales_at\'])),
\n      \'update_at\'=>time(),
\n    );
\n    Update($db,"action",$udt1,"id=".$dt[\'id\'][0],$v);
\n    $udt2=array(
\n      \'action_at\'=>strtotime($p[\'sales_at\']),
\n      \'reff_sales_id\'=>$p[\'id\'],
\n      \'pay_from\'=>$p[\'buyer\'],
\n      \'invoice\'=>$p[\'invoice\'],
\n      \'inout\'=>1,
\n      \'descr\'=>$ar[\'act_desc\'][$p[\'cash_credit\']]." ".$p[\'descr\'],
\n      \'bank\'=>$ar[\'act_bank\'][$p[\'cash_credit\']],
\n      \'cat\'=>$ar[\'act__cat\'][$p[\'cash_credit\']],
\n      \'amount\'=>$p[\'qty\']*$p[\'price\'],
\n      \'year\'=>date("Y",strtotime($p[\'sales_at\'])),
\n      \'month\'=>date("Ym",strtotime($p[\'sales_at\'])),
\n      \'tgl\'=>date("Y-m-d",strtotime($p[\'sales_at\'])),
\n      \'update_at\'=>time(),
\n    );
\n    Update($db,"action",$udt2,"id=".$dt[\'id\'][1],$v);
\n    $udt_41=array(
\n      \'action_id_1\'=>$dt[\'id\'][0],
\n      \'action_id_2\'=>$dt[\'id\'][1],
\n    );
\n    Update($db,"sales",$udt_41,"id=".$p[\'id\'],$v);
\n    //catat di product_trx
\n    $p[\'action_at\']=strtotime($p[\'sales_at\']);
\n    $p[\'inout\']=2;
\n    $p[\'remark\']=$p[\'descr\'];
\n    $p[\'action_id\']=$dt[\'id\'][0];
\n    product_trx($p);
\n  }
\n}','php','0','2','2','1748499742');
INSERT INTO `cp_sphp` VALUES('22','app','to_money','function to_money($ang) {
\n    $sid = preg_replace("/[^0-9+-]/","",$ang);
\n    return $sid;
\n}','php','0','2','2','1748499764');
INSERT INTO `cp_sphp` VALUES('23','app','list_equ_2','function list_equ_2(){
\n  global $ar,$db;
\n  $dt=array();
\n
\n  $sql = "select a.*, b.descr as descr,b.seq as seq from account_equation a JOIN `action` b ON a.action_id=b.id where a.st>0 ";
\n  
\n    $sql .= " and a.`year`=\'".date("Y")."\' ";
\n
\n  
\n  //$sql .= " order by a.".$sortby." asc, a.id asc";
\n  $res = mysqli_query($db, $sql);
\n    foreach ($ar[\'equ\'] as $k => $v) {
\n      $j[$v]=0;
\n    }
\n
\n  while($rw = mysqli_fetch_assoc($res)) {
\n    foreach ($ar[\'equ\'] as $k1 => $v1) {
\n      $j[$v1]=$j[$v1]+$rw[$v1];
\n    } 
\n  }
\n
\n  $j[\'aktiva_lancar\']=$j[\'c11\']=$j[\'c11101\']+$j[\'c11201\']+$j[\'c11202\']+$j[\'c11203\']+$j[\'c11204\']+$j[\'c11205\'];
\n
\n  $j[\'aktiva_tak_lancar\']=$j[\'c12\']=$j[\'c12101\']+$j[\'c12201\']+$j[\'c12202\']+$j[\'c12301\']+$j[\'c12302\']+$j[\'c12401\']+$j[\'c12402\'];
\n
\n  $j[\'utang\']=$j[\'c21\']=$j[\'c21100\']+$j[\'c22100\']+$j[\'c23100\'];
\n
\n  $j[\'equity\']=$j[\'c31\']=$j[\'c31100\']+$j[\'c31200\']+$j[\'c31300\'];
\n
\n  $j[\'pendapatan\']=$j[\'c41\']=$j[\'c41100\']+$j[\'c41200\']+$j[\'c41300\'];
\n
\n  $j[\'hpp\']=$j[\'c51\']=$j[\'c51100\']+$j[\'c51200\']+$j[\'c51300\'];
\n
\n  $j[\'beban_penjualan\']=$j[\'c61\']=$j[\'c61101\']+$j[\'c61102\']+$j[\'c61103\']+$j[\'c61104\']+$j[\'c61105\']+$j[\'c61106\'];
\n
\n  $j[\'beban_administrasi\']=$j[\'c62\']=$j[\'c62101\']+$j[\'c62102\']+$j[\'c62103\']+$j[\'c62104\']+$j[\'c62106\']+$j[\'c62107\'];
\n
\n  $j[\'pendapatan_lain\']=$j[\'c71\']=$j[\'c71000\'];
\n
\n  $j[\'beban_lain\']=$j[\'c81\']=$j[\'c81100\']+$j[\'c81200\'];
\n
\n  $j[\'beban\']=$j[\'beban_penjualan\']+$j[\'beban_administrasi\'];
\n
\n  $j[\'aktiva\']=$j[\'aktiva_lancar\']+$j[\'aktiva_tak_lancar\'];
\n
\n  $j[\'laba_kotor\']=$j[\'pendapatan\']+$j[\'hpp\']+$j[\'beban_penjualan\'];
\n
\n  $j[\'laba_sebelum_pph\']=$j[\'laba_kotor\']+$j[\'beban_administrasi\'];
\n
\n  $j[\'pph\']=0;
\n
\n  $j[\'laba_setelah_pph\']=$j[\'laba_bersih\']=$j[\'laba_sebelum_pph\']-$j[\'pph\'];
\n
\n  $j[\'pasiva\']=$j[\'utang\']+$j[\'equity\']+$j[\'laba_setelah_pph\']; 
\n  echo "aktiva:<br>".ang2($j[\'aktiva\'])."<br>pasiva:<br>".ang2($j[\'pasiva\'])."<br>Rugi/Laba:<br>".ang2($j[\'laba_bersih\']); 
\n}','php','0','2','2','1748658706');
INSERT INTO `cp_sphp` VALUES('24','app','list_equ_3','function list_equ_3(){
\n  global $ar,$db;
\n  $dt=array();
\n
\n  $sql = "select a.*, b.descr as descr,b.seq as seq from account_equation a JOIN `action` b ON a.action_id=b.id where a.st>0 ";
\n  
\n    $sql .= " and a.`year`=\'".date("Y")."\' ";
\n
\n  
\n  //$sql .= " order by a.".$sortby." asc, a.id asc";
\n  $res = mysqli_query($db, $sql);
\n    foreach ($ar[\'equ\'] as $k => $v) {
\n      $j[$v]=0;
\n    }
\n
\n  while($rw = mysqli_fetch_assoc($res)) {
\n    foreach ($ar[\'equ\'] as $k1 => $v1) {
\n      $j[$v1]=$j[$v1]+$rw[$v1];
\n    } 
\n  }
\n
\n  foreach ($ar[\'equ\'] as $k1 => $v1) {
\n    //$j[$v1]=$j[$v1]+$rw[$v1];
\n    $udt=array(
\n      \'update_at\'=>time(),
\n      \'s2025\'=>$j[$v1],
\n    );
\n    Update($db,"fcode",$udt,"`code`=\'".$v1."\'",0);
\n  }
\n  
\n
\n}','php','0','2','2','1748499813');
INSERT INTO `cp_sphp` VALUES('25','app','account_equation','function account_equation($trx) {
\n  global $db,$ar;
\n  $dt=array();
\n  $dt[\'src\']=$trx;
\n  /*  
\n  //cek kolom apa saja yg diupdate
\n  $sql = "SELECT `code` from account where code=\'".$trx[\'debit\']."\'"; 
\n  //echo $sql."<br>";
\n  $res = mysqli_query($db,$sql);
\n  $r1  = mysqli_fetch_assoc($res);
\n
\n  $sql2 = "SELECT lev2,min from account where code=\'".$trx[\'credit\']."\'"; 
\n  $res2 = mysqli_query($db,$sql2);
\n  $r2   = mysqli_fetch_assoc($res2);
\n  */
\n  $col_debit=\'c\'.$trx[\'debit\'];
\n  $col_credit=\'c\'.$trx[\'credit\'];
\n  
\n  $col3_debit=substr($col_debit,0,3);
\n  $col3_credit=substr($col_credit,0,3);
\n
\n  $val_credit=to_numeric($trx[\'amount\']);
\n  $val_debit=to_numeric($trx[\'amount\']);
\n
\n  //beban dr cash
\n  if($col_credit==\'c11101\') {
\n    //bayar beban
\n    if($col3_debit==\'c61\' or $col3_debit==\'c62\' or $col_debit==\'c21100\' or $col_debit==\'c41300\' or $col_debit==\'c31200\') {
\n      $val_credit=-to_numeric($trx[\'amount\']);
\n      $val_debit=-to_numeric($trx[\'amount\']);
\n    }
\n    //bayar asset
\n    if($col_debit==\'c11202\' or $col_debit==\'c11203\' or $col_debit==\'c11204\' or $col_debit==\'c11205\' or $col_debit==\'c12101\' or $col_debit==\'c12201\' or $col_debit==\'c12301\' or $col_debit==\'c12401\') {
\n      $val_credit=-to_numeric($trx[\'amount\']);
\n      $val_debit=to_numeric($trx[\'amount\']);
\n    }
\n
\n  } 
\n
\n  //ada piutang yg di bayar
\n  if($col_credit==\'c11201\' && $col_debit==\'c11101\') {
\n    $val_credit=-to_numeric($trx[\'amount\']);
\n    $val_debit=to_numeric($trx[\'amount\']);
\n  } 
\n
\n  //ada piutang dg barang dagangan di retur
\n  if($col_credit==\'c11201\' && $col_debit==\'c41100\') {
\n    $val_credit=-to_numeric($trx[\'amount\']);
\n    $val_debit=-to_numeric($trx[\'amount\']);
\n  } 
\n
\n  //ada piutang yg di bayar
\n  if($col_credit==\'c11202\' && $col_debit==\'c51100\') {
\n    $val_credit=-to_numeric($trx[\'amount\']);
\n    $val_debit=-to_numeric($trx[\'amount\']);
\n  } 
\n
\n  //ada rtur barang pembelian kredit (utang)
\n  if($col_credit==\'c11202\' && $col_debit==\'c21100\') {
\n    $val_credit=-to_numeric($trx[\'amount\']);
\n    $val_debit=-to_numeric($trx[\'amount\']);
\n  } 
\n
\n  //bayar biaya dengan utang
\n  if($col_credit==\'c22100\') {
\n    if($col3_debit==\'c61\' or $col3_debit==\'c62\') {
\n      $val_credit=to_numeric($trx[\'amount\']);
\n      $val_debit=-to_numeric($trx[\'amount\']);
\n    }
\n  } 
\n
\n  //penyusutan aset
\n  if($col_credit==\'c12202\' or $col_credit==\'c12302\' or $col_credit==\'c12402\') {
\n    if($col3_debit==\'c61\' or $col3_debit==\'c62\') {
\n      $val_credit=-to_numeric($trx[\'amount\']);
\n      $val_debit=-to_numeric($trx[\'amount\']);
\n    }
\n  } 
\n
\n
\n  $sql3 = "select id,id2,id-id2 as k from account_equation where id-id2>0 order by id2 limit 1";
\n  $res3 = mysqli_query($db, $sql3);
\n  if(mysqli_num_rows($res3)>0) {
\n    $rw3 = mysqli_fetch_assoc($res3);
\n    $id2=$rw3[\'id2\'];
\n  } else {
\n    $sql4 = "select * from account_equation order by id desc limit 1";
\n    $res4 = mysqli_query($db, $sql4);
\n    $rw4 = mysqli_fetch_assoc($res4);
\n    if(isset($rw4[\'id\']) && $rw4[\'id\']>0) {
\n      $id2=$rw4[\'id\']+1;
\n    } else {
\n      $id2=1;
\n    }
\n  }
\n  /*
\n  foreach ($ar[\'equ\'] as $k => $v) {
\n    $udt6=array(
\n      $v=>0,
\n    );
\n    Update($db,"account_equation",$udt6,"transaction_id=".$trx[\'id\'],0);
\n  }*/
\n  $idt=array(
\n    \'id\'=>$id2,
\n    \'transaction_id\'=>$trx[\'id\'],
\n    \'action_at\'=>$trx[\'action_at\'],
\n    \'action_id\'=>$trx[\'action_id\'],
\n    \'year\'=>date("Y",$trx[\'action_at\']),
\n    \'month\'=>date("Ym",$trx[\'action_at\']),
\n    \'week\'=>date("W",$trx[\'action_at\']),
\n    \'amount\'=>to_numeric($trx[\'amount\']),
\n    $col_debit=>$val_debit,
\n    $col_credit=>$val_credit,
\n  );
\n  $udt=array(
\n    \'action_at\'=>$trx[\'action_at\'],
\n    \'year\'=>date("Y",$trx[\'action_at\']),
\n    \'month\'=>date("Ym",$trx[\'action_at\']),
\n    \'week\'=>date("W",$trx[\'action_at\']),
\n    \'amount\'=>to_numeric($trx[\'amount\']),
\n    $col_debit=>$val_debit,
\n    $col_credit=>$val_credit,
\n  );
\n  InsertUpdate($db,"account_equation",$idt,$udt,0);
\n  tool_id2("account_equation");
\n  equ_count();
\n  $dt[\'idt\']=$idt;
\n  $dt[\'udt\']=$udt;
\n  return $dt;
\n}','php','0','2','2','1748666334');
INSERT INTO `cp_sphp` VALUES('26','api','start_old','function start_old(){
\n  global $ar,$db;
\n  $dt=array();
\n$dt2=array();
\n
\n//account_trx
\n$sql2="SELECT `id`,`name`,`code`,`c3`,`parent_id` from `account` where trx=1";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'account_trx\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by `code`";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0; $d=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'account_trx\'][\'data\'][\'all\'][$r1[\'code\']]=$r1;
\n    if($r1[\'c3\']<30) {
\n      $dt[\'account_trx\'][\'data\'][\'left\'][$c]=$r1;
\n      $c++;
\n    } else {
\n      $dt[\'account_trx\'][\'data\'][\'right\'][$d]=$r1; 
\n      $d++;     
\n    }
\n  }
\n} else {
\n  $dt[\'account_trx\'][\'count\']=0;
\n}
\n
\n$sql2="SELECT * from `account_equation` where id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'account_equation\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'account_equation\'][\'data\'][$c]=$r1;    
\n    //$dt[\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'account_equation\'][\'count\']=0;
\n}
\n
\n//action
\n$sql2="SELECT * from `action` where id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'action\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $c=$r1[\'id\'];
\n    $dt[\'action\'][\'data\'][$c]=$r1;    
\n    $dt[\'action\'][\'data\'][$c][\'rp\']=ang2($r1[\'amount\']);    
\n    $dt[\'action\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n  }
\n} else {
\n  $dt[\'action\'][\'count\']=0;
\n}
\n
\n//bank
\n$sql2="SELECT * from `bank` where id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'bank\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'bank\'][\'data\'][$c]=$r1;    
\n    $dt[\'bank\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'bank\'][\'count\']=0;
\n}
\n
\n//company
\n$sql2="SELECT * from `company` where id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'company\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'company\'][\'data\'][$c]=$r1;    
\n    $dt[\'company\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'company\'][\'count\']=0;
\n}
\n
\n//inventory
\n$sql2="SELECT * from `inventory` where id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'inventory\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'inventory\'][\'data\'][$c]=$r1;    
\n    $dt[\'inventory\'][\'data\'][$c][\'rp\']=ang2($r1[\'amount\']);    
\n    $dt[\'inventory\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'inventory\'][\'count\']=0;
\n}
\n
\n//journal
\n$sql2="SELECT a.*,b.descr from `journal` a JOIN `action` b ON a.action_id=b.id where a.id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'journal\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by a.action_at desc,a.id desc";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'journal\'][\'data\'][$c]=$r1;    
\n    $dt[\'journal\'][\'data\'][$c][\'rp_debit\']=ang2($r1[\'debit\']);    
\n    $dt[\'journal\'][\'data\'][$c][\'rp_credit\']=ang2($r1[\'credit\']);    
\n    $dt[\'journal\'][\'data\'][$c][\'rp_balance\']=ang2($r1[\'balance\']);    
\n    $dt[\'journal\'][\'data\'][$c][\'rp\']=ang2($r1[\'amount\']);    
\n    $dt[\'journal\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'journal\'][\'count\']=0;
\n}
\n
\n//person
\n$sql2="SELECT * from `person` where id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'person\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'person\'][\'data\'][$c]=$r1;    
\n    $dt[\'person\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'person\'][\'count\']=0;
\n}
\n
\n//product
\n
\n$sql2="SELECT id,name,img,brand,qty,item_code,price_per_unit,update_at from `product` where del=0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'product_byid\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  //$c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $c=$r1[\'id\'];
\n    $dt[\'product_byid\'][\'data\'][$c]=$r1;
\n    $dt[\'product_byid\'][\'data\'][$c][\'hpp\']=ang2($r1[\'price_per_unit\']);
\n    $dt[\'product_byid\'][\'data\'][$c][\'amount\']=ang2($r1[\'price_per_unit\']*$r1[\'qty\']);
\n    $dt[\'product_byid\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $sql3="SELECT a.id,a.action_id,a.transaction_id,a.item_in,a.item_out,a.`balance`,a.invoice,a.tgl,a.`inout`,b.descr from `product_trx` a JOIN `action` b ON a.action_id=b.id where product_id=".$r1[\'id\']." order by a.action_at,a.action_id ";
\n    $res3=mysqli_query($db,$sql3);
\n    $d=0;
\n    while($r3=mysqli_fetch_assoc($res3)) {
\n      $dt[\'product_byid\'][\'data\'][$c][\'trx\'][$d]=$r3;
\n      $dt[\'product_byid\'][\'data\'][$c][\'trx\'][$d][\'amount\']=ang2($r3[\'balance\']*$r1[\'price_per_unit\']);
\n      $d++;
\n    }
\n  }
\n} else {
\n  $dt[\'product_byid\'][\'count\']=0;
\n}
\n/* */
\n
\n$sql2="SELECT `brand` from `product` where `del`=0 group by `brand` order by `brand`";
\n  $res2=mysqli_query($db,$sql2);
\n  //$dt[\'count\']=$r2;
\n  $count=0;
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r2=mysqli_fetch_assoc($res2)) {
\n      $dt[\'product\'][\'data\'][$c][\'brand\']=$r2[\'brand\'];
\n      $sql3="SELECT id,name,qty,item_code,price_per_unit,img,update_at from `product` where del=0 and brand=\'".$r2[\'brand\']."\' order by `name`";
\n      $res3=mysqli_query($db,$sql3);
\n      $d=0;
\n      while($r3=mysqli_fetch_assoc($res3)) {
\n        $dt[\'product\'][\'data\'][$c][\'items\'][$d]=$r3;
\n        $dt[\'product\'][\'data\'][$c][\'items\'][$d][\'hpp\']=ang2($r3[\'price_per_unit\']);
\n        $dt[\'product\'][\'data\'][$c][\'items\'][$d][\'amount\']=ang2($r3[\'price_per_unit\']*$r3[\'qty\']);
\n        $dt[\'product\'][\'data\'][$c][\'items\'][$d][\'update\']=date("Y-m-d H:i:s",$r3[\'update_at\']);
\n
\n        $sql4="SELECT a.id,a.action_id,a.transaction_id,a.item_in,a.item_out,a.`balance`,a.invoice,a.tgl,a.`inout`,b.descr from `product_trx` a JOIN `action` b ON a.action_id=b.id where product_id=".$r3[\'id\']." order by a.action_at,a.action_id ";
\n        $res4=mysqli_query($db,$sql4);
\n        $e=0;
\n        while($r4=mysqli_fetch_assoc($res4)) {
\n          $dt[\'product\'][\'data\'][$c][\'items\'][$d][\'trx\'][$e]=$r4;
\n          $dt[\'product\'][\'data\'][$c][\'items\'][$d][\'trx\'][$e][\'amount\']=ang2($r4[\'balance\']*$r3[\'price_per_unit\']);
\n          $e++;
\n        }        
\n        $d++;
\n        $count++;
\n      }
\n      $c++;
\n    }
\n    $dt[\'product\'][\'count\']=$count;
\n  } else {
\n    $dt[\'product\'][\'count\']=0;
\n  }  
\n
\n
\n//[\'sales\']
\n$sql2="SELECT * from `sales` where del=0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'sales\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by id";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'sales\'][\'data\'][$c]=$r1;
\n    $dt[\'sales\'][\'data\'][$c][\'rp_hpp\']=ang2($r1[\'hpp\']);
\n    $dt[\'sales\'][\'data\'][$c][\'rp_price\']=ang2($r1[\'price\']);
\n    $dt[\'sales\'][\'data\'][$c][\'rp_amount\']=ang2($r1[\'amount\']);
\n    $dt[\'sales\'][\'data\'][$c][\'pay\']=$ar[\'cash_credit\'][$r1[\'cash_credit\']];
\n    $dt[\'sales\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'sales\'][\'count\']=0;
\n}
\n
\n//[\'transaction\']
\n$sql2="SELECT a.*,b.descr,b.invoice from `transaction` a JOIN `action` b ON a.id=b.id where a.id>0";
\n$res2=mysqli_query($db,$sql2);
\n$r2=mysqli_num_rows($res2);
\n$dt[\'transaction\'][\'count\']=$r2;
\n
\n$sql=$sql2." order by a.action_at desc,a.id desc";
\n//echo $sql.";<br>";
\n$res=mysqli_query($db,$sql);
\nif(mysqli_num_rows($res2)>0) {
\n  $c=0;
\n  while($r1=mysqli_fetch_assoc($res)) {
\n    $dt[\'transaction\'][\'data\'][$c]=$r1;    
\n    $dt[\'transaction\'][\'data\'][$c][\'tgl\']=date("Y-m-d",$r1[\'action_at\']);    
\n    $dt[\'transaction\'][\'data\'][$c][\'debit_acc\']=$ar[\'acc_name\'][$r1[\'debit\']];    
\n    $dt[\'transaction\'][\'data\'][$c][\'credit_acc\']=$ar[\'acc_name\'][$r1[\'credit\']];    
\n    $dt[\'transaction\'][\'data\'][$c][\'rp_amount\']=ang2($r1[\'amount\']);
\n    $dt[\'transaction\'][\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n    $c++;
\n  }
\n} else {
\n  $dt[\'transaction\'][\'count\']=0;
\n}
\n
\n//icons
\ninclude_once $ar[\'path_core\']."u9/inc.ar.f7icon.php";
\n$dt[\'icons\'][\'count\']=count($ar[\'f7_icon\']);
\nforeach($ar[\'f7_icon\'] as $k=>$v) {
\n  $dt[\'icons\'][\'data\'][$k][\'name\']=$v;
\n  $dt[\'icons\'][\'data\'][$k][\'id\']=$k+1;
\n}
\n
\n
\n
\n$dt2[\'result\']=$dt;
\n$dt2[\'status\']=true;
\n//echo json_encode($dt2);
\n
\n
\n
\n  return $dt2;
\n  $db->close();
\n}','php','0','2','1','1748571940');
INSERT INTO `cp_sphp` VALUES('27','api','start','function start(){
\n  global $ar,$db;
\n  $dt=array();
\n  $dt2=array();
\n  $dt[\'menu\']=tab_add_menu();
\n  //account_trx
\n  $sql2="SELECT `id`,`name`,`code`,`c3`,`parent_id` from `account` where trx=1";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n  $dt[\'account_trx\'][\'count\']=$r2;
\n
\n  $sql=$sql2." order by `code`";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0; $d=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'account_trx\'][\'data\'][\'all\'][$r1[\'code\']]=$r1;
\n      if($r1[\'c3\']<30) {
\n        $dt[\'account_trx\'][\'data\'][\'left\'][$c]=$r1;
\n        $c++;
\n      } else {
\n        $dt[\'account_trx\'][\'data\'][\'right\'][$d]=$r1; 
\n        $d++;     
\n      }
\n    }
\n  } else {
\n    $dt[\'account_trx\'][\'count\']=0;
\n  }
\n
\n  //account_trx
\n  $sql2="SELECT `id`,`name`,`code`,`parent` from `fcode` where `code`=\'c61\' or `code`=\'c62\'  or `code`=\'c81\' or `code`=\'c11\' or `code`=\'c21\' or `code`=\'c31\'";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n
\n  $sql=$sql2." order by `code`";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'account_cost\'][\'data\'][$r1[\'code\']]=$r1;
\n      $sql3="SELECT `id`,`name`,`code`,`parent` from `fcode` where `parent`=".$r1[\'id\']." and trx=1 and is_cost=1 order by `name`";
\n      $res3=mysqli_query($db,$sql3);
\n      $d=0;
\n      while($r3=mysqli_fetch_assoc($res3)) {
\n        $dt[\'account_cost\'][\'data\'][$r1[\'code\']][\'items\'][$d]=$r3;
\n        $dt[\'account_cost\'][\'data\'][$r1[\'code\']][\'items\'][$d][\'code\']=substr($r3[\'code\'],1);
\n        $d++;        
\n      }
\n      $c++;
\n    }
\n  } 
\n
\n  //account_trx
\n  $sql2="SELECT `id`,`name`,`code`,`parent` from `fcode` where `code`=\'c31\'  or `code`=\'c71\' or `code`=\'c11\' or `code`=\'c21\' ";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n
\n  $sql=$sql2." order by `code`";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'account_in\'][\'data\'][$r1[\'code\']]=$r1;
\n      $sql3="SELECT `id`,`name`,`code`,`parent` from `fcode` where `parent`=".$r1[\'id\']." and trx=1 and is_income=1 order by `name`";
\n      $res3=mysqli_query($db,$sql3);
\n      $d=0;
\n      while($r3=mysqli_fetch_assoc($res3)) {
\n        $dt[\'account_in\'][\'data\'][$r1[\'code\']][\'items\'][$d]=$r3;
\n        $dt[\'account_in\'][\'data\'][$r1[\'code\']][\'items\'][$d][\'code\']=substr($r3[\'code\'],1);
\n        $d++;        
\n      }
\n      $c++;
\n    }
\n  } 
\n
\n  //icons
\n  include_once $ar[\'path_core\']."u9/inc.ar.f7icon.php";
\n  $dt[\'icons\'][\'count\']=count($ar[\'f7_icon\']);
\n  foreach($ar[\'f7_icon\'] as $k=>$v) {
\n    $dt[\'icons\'][\'data\'][$k][\'name\']=$v;
\n    $dt[\'icons\'][\'data\'][$k][\'id\']=$k+1;
\n  }
\n  $dt2[\'result\']=$dt;
\n  $dt2[\'status\']=true;
\n  //echo json_encode($dt2);
\n  return $dt2;
\n  $db->close();
\n}','php','0','2','1','1748922599');
INSERT INTO `cp_sphp` VALUES('28','app','sales_add','function sales_add($js){
\n  global $ar,$db;
\n  $dt=array();
\n  $sql3 = "select id,id2,id-id2 as k from `sales` where id-id2>0 order by id2 limit 1";
\n  $res3 = mysqli_query($db, $sql3);
\n  if(mysqli_num_rows($res3)>0) {
\n    $rw3 = mysqli_fetch_assoc($res3);
\n    $id1=$rw3[\'id2\'];
\n  } else {
\n    $sql4 = "select * from `sales` order by id desc limit 1";
\n    $res4 = mysqli_query($db, $sql4);
\n    $rw4 = mysqli_fetch_assoc($res4);
\n    if(isset($rw4[\'id\']) && $rw4[\'id\']>0) {
\n      $id1=$rw4[\'id\']+1;
\n    } else {
\n      $id1=1;
\n    }
\n  }
\n
\n  if($js[\'cat\']==7 && $js[\'due_days\']>0) {
\n    $due_days=$js[\'due_days\']*24*60*60;
\n    $due_date=date("Y-m-d",strtotime($js[\'action_at\'])+$due_days);
\n    $cash_credit=2;
\n  } else {
\n    $due_date=$js[\'action_at\'];
\n    $cash_credit=1;
\n  }
\n
\n  $idt=array(
\n    \'id\'=>$id1,
\n    \'product_id\'=>$js[\'product_id\'],
\n    \'hpp\'=>$js[\'hpp\'],
\n    \'cash_credit\'=>$cash_credit,
\n    \'buyer\'=>$js[\'buyer\'],
\n    \'sales\'=>$js[\'sales\'],
\n    \'sales_at\'=>strtotime($js[\'action_at\']),
\n    \'qty\'=>$js[\'qty\'],
\n    \'price\'=>$js[\'price_per_unit\'],
\n    \'amount\'=>$js[\'qty\']*$js[\'price_per_unit\'],
\n    \'due_date\'=>$due_date,
\n    \'invoice\'=>$js[\'invoice\'],
\n    \'descr\'=>$js[\'descr\'],
\n    \'tgl\'=>$js[\'action_at\'],
\n    \'days_due_date\'=>$js[\'due_days\'],
\n    \'year\'=>date("Y",strtotime($js[\'action_at\'])),
\n    \'month\'=>date("Ym",strtotime($js[\'action_at\'])),
\n    \'update_at\'=>time(),
\n  );
\n  Insert($db,"sales",$idt,0);
\n  tool_id2(\'sales\'); 
\n  $dt[\'message\']="Add sales Successfully";
\n  $dt[\'sales_id\']=$id1;
\n  $dt[\'success\']=true; 
\n  return $dt;
\n}','php','0','2','2','1748589739');
INSERT INTO `cp_sphp` VALUES('29','app','equ_count','function equ_count(){
\n  global $ar,$db;
\n  //$dt=array();
\n  $udt1=array(
\n  \'s2025\'=>0
\n  );
\n  Update($db,"fcode",$udt1,"id>0",0);
\n  $ar[\'fcode\'][\'level4\']=array(\'b3201\',\'b3202\',\'b3203\',\'b3204\',\'b3205\',\'b3206\',\'b3207\',\'b3208\',\'b3209\',\'b3210\');
\n
\n  $ar[\'fcode\'][\'level3\']=array(\'b11\',\'b12\',\'b21\',\'b31\',\'b32\',\'b33\',\'c11\',\'c12\',\'c21\',\'c31\',\'c41\',\'c51\',\'c61\',\'c62\',\'c71\',\'c81\');
\n  /*
\n  $ar[\'fcode\'][\'level2\']=array(\'a01\', \'a02\', \'a03\', \'a04\', \'a05\', \'a06\', \'a07\', \'a08\', \'a09\', \'a10\', \'b11\', \'b12\', \'b21\', \'b33\', \'c1\', \'c2\', \'d1\', \'d2\', \'d3\', \'d4\', \'m1\', \'m2\');
\n  */
\n  $ar[\'fcode\'][\'level2\']=array(\'a01\', \'a02\', \'a03\', \'a04\', \'a05\', \'a06\', \'a07\', \'a08\', \'a09\', \'a10\', \'b11\', \'b12\', \'b21\', \'b33\',\'b1\',\'b2\', \'c1\', \'c2\');
\n
\n  $sql = "select a.*, b.descr as descr,b.seq as seq from account_equation a JOIN `action` b ON a.action_id=b.id where a.st>0 ";
\n  
\n    $sql .= " and a.`year`=\'".date("Y")."\' ";
\n
\n  
\n  //$sql .= " order by a.".$sortby." asc, a.id asc";
\n  $res = mysqli_query($db, $sql);
\n    foreach ($ar[\'equ\'] as $k => $v) {
\n      $j[$v]=0;
\n    }
\n
\n  while($rw = mysqli_fetch_assoc($res)) {
\n    foreach ($ar[\'equ\'] as $k1 => $v1) {
\n      $j[$v1]=$j[$v1]+$rw[$v1];
\n    } 
\n  }
\n
\n  $j[\'aktiva_lancar\']=$j[\'c11\']=$j[\'c11101\']+$j[\'c11201\']+$j[\'c11202\']+$j[\'c11203\']+$j[\'c11204\']+$j[\'c11205\'];
\n
\n  $j[\'aktiva_tak_lancar\']=$j[\'c12\']=$j[\'c12101\']+$j[\'c12201\']+$j[\'c12202\']+$j[\'c12301\']+$j[\'c12302\']+$j[\'c12401\']+$j[\'c12402\'];
\n
\n  $j[\'utang\']=$j[\'c21\']=$j[\'c21100\']+$j[\'c22100\']+$j[\'c23100\'];
\n
\n  $j[\'equity\']=$j[\'c31\']=$j[\'c31100\']+$j[\'c31200\']+$j[\'c31300\'];
\n
\n  $j[\'pendapatan\']=$j[\'c41\']=$j[\'c41100\']+$j[\'c41200\']+$j[\'c41300\'];
\n
\n  $j[\'hpp\']=$j[\'c51\']=$j[\'c51100\']+$j[\'c51200\']+$j[\'c51300\'];
\n
\n  $j[\'beban_penjualan\']=$j[\'c61\']=$j[\'c61101\']+$j[\'c61102\']+$j[\'c61103\']+$j[\'c61104\']+$j[\'c61105\']+$j[\'c61106\'];
\n
\n  $j[\'beban_administrasi\']=$j[\'c62\']=$j[\'c62101\']+$j[\'c62102\']+$j[\'c62103\']+$j[\'c62104\']+$j[\'c62106\']+$j[\'c62107\'];
\n
\n  $j[\'pendapatan_lain\']=$j[\'c71\']=$j[\'c71000\'];
\n
\n  $j[\'beban_lain\']=$j[\'c81\']=$j[\'c81100\']+$j[\'c81200\'];
\n
\n  $j[\'beban\']=$j[\'beban_penjualan\']+$j[\'beban_administrasi\'];
\n
\n  $j[\'aktiva\']=$j[\'aktiva_lancar\']+$j[\'aktiva_tak_lancar\'];
\n
\n  $j[\'laba_kotor\']=$j[\'pendapatan\']+$j[\'hpp\']+$j[\'beban_penjualan\'];
\n
\n  $j[\'laba_sebelum_pph\']=$j[\'laba_kotor\']+$j[\'beban_administrasi\']+$j[\'pendapatan_lain\']+$j[\'beban_lain\'];
\n
\n  $j[\'pph\']=0;
\n
\n  $j[\'laba_setelah_pph\']=$j[\'laba_bersih\']=$j[\'laba_sebelum_pph\']-$j[\'pph\'];
\n
\n  $j[\'pasiva\']=$j[\'utang\']+$j[\'equity\']+$j[\'laba_setelah_pph\']; 
\n
\n  //level4
\n  $j[\'b3201\']=$j[\'c41\'];
\n  $j[\'b3202\']=$j[\'c51\'];
\n  $j[\'b3203\']=$j[\'c61\'];
\n  $j[\'b3204\']=$j[\'b3201\']+$j[\'b3202\']+$j[\'b3203\'];
\n  $j[\'b3205\']=$j[\'c62\'];
\n  $j[\'b3206\']=$j[\'c71\'];
\n  $j[\'b3207\']=$j[\'c81\'];
\n  $j[\'b3208\']=$j[\'b3204\']+$j[\'b3205\']+$j[\'b3206\']+$j[\'b3207\'];
\n  $j[\'b3209\']=$j[\'pph\'];
\n  $j[\'b3210\']=$j[\'b3208\']+$j[\'b3209\'];
\n
\n  //level3;
\n  $j[\'b11\']=$j[\'c11\'];
\n  $j[\'b12\']=$j[\'c12\'];
\n  $j[\'b21\']=$j[\'c21\'];
\n  $j[\'b31\']=$j[\'c31\'];
\n  $j[\'b32\']=$j[\'b3210\'];
\n  $j[\'b33\']=$j[\'c31\']+$j[\'b32\'];
\n
\n  //level2
\n  $j[\'a01\']=$j[\'c41\'];
\n  $j[\'a02\']=$j[\'c51\'];
\n  $j[\'a03\']=$j[\'c61\'];
\n  $j[\'a04\']=$j[\'laba_kotor\'];
\n  $j[\'a05\']=$j[\'c62\'];
\n  $j[\'a06\']=$j[\'c71\'];
\n  $j[\'a07\']=$j[\'c81\'];
\n  $j[\'a08\']=$j[\'laba_sebelum_pph\'];
\n  $j[\'a09\']=$j[\'pph\'];
\n  $j[\'a10\']=$j[\'laba_setelah_pph\'];
\n
\n  $j[\'b1\']=$j[\'b11\']+$j[\'b12\'];
\n  $j[\'b2\']=$j[\'b21\']+$j[\'b33\'];
\n
\n  $j[\'c1\']=$j[\'c11\']+$j[\'c12\'];
\n  $j[\'c2\']=$j[\'pasiva\'];
\n
\n  foreach ($ar[\'equ\'] as $k1 => $v1) {  
\n    $udt=array(
\n      \'s2025\'=>$j[$v1],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v1."\'",1);
\n  } 
\n  foreach ($ar[\'fcode\'][\'level4\'] as $k => $v) {
\n    $udt=array(
\n      \'s2025\'=>$j[$v],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v."\'",1);
\n  }
\n  foreach ($ar[\'fcode\'][\'level3\'] as $k => $v) {
\n    $udt=array(
\n      \'s2025\'=>$j[$v],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v."\'",1);
\n  }
\n  foreach ($ar[\'fcode\'][\'level2\'] as $k => $v) {
\n    $udt=array(
\n      \'s2025\'=>$j[$v],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v."\'",1);
\n  }
\n  $dt[\'count\']=$j;
\n  //return $dt; 
\n  //$dt[\'count\']=$j;
\n  //return $dt; 
\n}','php','0','2','2','1748786406');
INSERT INTO `cp_sphp` VALUES('30','api','inventory','function inventory(){
\n  global $ar,$db;
\n  $dt=array();
\n  $sql2="SELECT * from `inventory` where id>0";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n  $dt[\'count\']=$r2;
\n  $dt[\'success\']=true;
\n  $sql=$sql2." order by id";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'data\'][$c]=$r1;    
\n      $dt[\'data\'][$c][\'image\']=$ar[\'imgurl\']."".$r1[\'img\'];    
\n      $dt[\'data\'][$c][\'rp\']=ang2($r1[\'amount\']);    
\n      $dt[\'data\'][$c][\'date_purchase\']=date("Y-m-d H:i:s",$r1[\'purchase_date\']);
\n      $dt[\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n      $c++;
\n    }
\n  } else {
\n    $dt[\'count\']=0;
\n    $dt[\'message\']="data not found";
\n  }
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748591291');
INSERT INTO `cp_sphp` VALUES('31','api','sales','function sales(){
\n  global $ar,$db;  
\n  $dt=array();
\n  $sql2="SELECT * from `sales` where del=0";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_num_rows($res2);
\n  $dt[\'count\']=$r2;
\n  $dt[\'success\']=true;
\n
\n  $sql=$sql2." order by id";
\n  //echo $sql.";<br>";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res2)>0) {
\n    $c=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'data\'][$c]=$r1;
\n      $dt[\'data\'][$c][\'tgl\']=date("Y-m-d",$r1[\'sales_at\']);
\n      $dt[\'data\'][$c][\'image\']=$ar[\'imgurl\']."".$r1[\'img\'];  
\n      $dt[\'data\'][$c][\'rp_hpp\']=ang2($r1[\'hpp\']);
\n      $dt[\'data\'][$c][\'rp_price\']=ang2($r1[\'price\']);
\n      $dt[\'data\'][$c][\'rp_amount\']=ang2($r1[\'amount\']);
\n      $dt[\'data\'][$c][\'pay\']=$ar[\'cash_credit\'][$r1[\'cash_credit\']];
\n      $dt[\'data\'][$c][\'update\']=date("Y-m-d H:i:s",$r1[\'update_at\']);
\n      $c++;
\n    }
\n  } else {
\n    $dt[\'count\']=0;
\n  }
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748676741');
INSERT INTO `cp_sphp` VALUES('32','app','retur_action','function retur_action($js,$v=0) {
\n  global $db,$ar;
\n  $dt=array();
\n/*  
\ncat=1, retur dr agen, menambah persediaan, mengurangi piutang
\ncat=2, retur ke supplier, mengurangi utang dan persediaan
\npersediaan/11202 dan utang dagang 21100
\n*/
\n  $rr[\'retur_descr\'][1]="";
\n  $rr[\'debit\'][1]      ="41100";
\n  $rr[\'credit\'][1]     ="11201";
\n
\n  $rr[\'retur_descr\'][2]="";
\n  $rr[\'debit\'][2]      ="21100";
\n  $rr[\'credit\'][2]     ="11202";
\n
\n  $sql4 = "select id from `action` order by id desc limit 1";
\n  $res4 = mysqli_query($db, $sql4);
\n  $r4 = mysqli_fetch_assoc($res4);
\n  $id1=$r4[\'id\']+1;
\n  $id2=$r4[\'id\']+2;
\n
\n  $idt1=array(
\n    \'id\'=>$id1,
\n    \'action_at\'=>strtotime($js[\'action_at\']),
\n    \'pay_to\'=>$js[\'pay_to\'],
\n    \'pay_from\'=>$js[\'pay_from\'],
\n    \'invoice\'=>$js[\'invoice\'],
\n    \'inout\'=>$js[\'inout\'],
\n    \'descr\'=>$js[\'descr\']." ".$rr[\'retur_descr\'][$js[\'inout\']],
\n    \'bank\'=>0,
\n    \'cat\'=>8,
\n    \'amount\'=>$js[\'amount\'],
\n    \'year\'=>date("Y",strtotime($js[\'action_at\'])),
\n    \'month\'=>date("Ym",strtotime($js[\'action_at\'])),
\n    \'tgl\'=>date("Y-m-d",strtotime($js[\'action_at\'])),
\n    \'update_at\'=>time(),
\n  );
\n  Insert($db,"action",$idt1,$v);
\n  $js1=$js;
\n  $js1[\'action_id\']=$id1;
\n  $js1[\'debit\']=$rr[\'debit\'][$js[\'inout\']];
\n  $js1[\'credit\']=$rr[\'credit\'][$js[\'inout\']];
\n  //$dt[\'trx\']=transaction_add_v2($js1);
\n  transaction_add_v2($js1);
\n  
\n  if($js[\'inout\']==1) {
\n    $idt2=array(
\n      \'id\'=>$id2,
\n      \'action_at\'=>strtotime($js[\'action_at\']),
\n      \'pay_to\'=>$js[\'pay_to\'],
\n      \'pay_from\'=>$js[\'pay_from\'],
\n      \'invoice\'=>$js[\'invoice\'],
\n      \'inout\'=>$js[\'inout\'],
\n      \'descr\'=>$js[\'descr\']."",
\n      \'bank\'=>0,
\n      \'cat\'=>8,
\n      \'amount\'=>$js[\'amount\'],
\n      \'year\'=>date("Y",strtotime($js[\'action_at\'])),
\n      \'month\'=>date("Ym",strtotime($js[\'action_at\'])),
\n      \'tgl\'=>date("Y-m-d",strtotime($js[\'action_at\'])),
\n      \'update_at\'=>time(),
\n    );
\n    Insert($db,"action",$idt2,$v);
\n    $js2=$js;
\n    $js2[\'action_id\']=$id2;
\n    $js2[\'debit\']=11202;
\n    $js2[\'credit\']=51100;
\n    //$dt[\'trx\']=transaction_add_v2($js2);
\n    transaction_add_v2($js2);
\n  }
\n
\n  //catat di product_trx
\n  $js[\'action_at\']=strtotime($js[\'action_at\']);
\n  //$js[\'inout\']=2;
\n  $js[\'remark\']=$js[\'descr\'];
\n  $js[\'action_id\']=$id1;
\n  product_trx($js);
\n  $dt[\'message\']="add transaction succes";
\n  return $dt;
\n}','php','0','2','2','1748607404');
INSERT INTO `cp_sphp` VALUES('33','api','fcode','function fcode(){
\n  global $ar,$db;
\n  $dt=array();
\n
\n  $sql1 = "select `id`,`name`,`code`,`remark`,`s2025`,`level` from `fcode` where del=0 and parent=0 and view=1 order by `code`";
\n  $res1 = mysqli_query($db, $sql1);
\n  $a=0;
\n  while($r1 = mysqli_fetch_assoc($res1)) {
\n    $dt[\'success\']=true;
\n    $dt[\'data\'][$a]=$r1;
\n    //echo $r1[\'code\']." (".$r1[\'name\'].")<br>";
\n    $sql2 = "select `id`,`name`,`code`,`remark`,`s2025`,`level` from `fcode` where del=0 and parent=".$r1[\'id\']." order by `code`";
\n    $res2 = mysqli_query($db, $sql2);
\n    $b=0;
\n    while($r2 = mysqli_fetch_assoc($res2)) {
\n      $dt[\'data\'][$a][\'items\'][$b]=$r2;
\n      $dt[\'data\'][$a][\'items\'][$b][\'rp\']=ang2($r2[\'s2025\']);
\n
\n      //echo "- ".$r2[\'code\']." (".$r2[\'name\'].")<br>";
\n      $sql3 = "select `id`,`name`,`code`,`remark`,`s2025`,`level` from `fcode` where del=0 and parent=".$r2[\'id\']." order by `code`";
\n      $res3 = mysqli_query($db, $sql3);
\n      $c=0;
\n      while($r3 = mysqli_fetch_assoc($res3)) {
\n        $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c]=$r3;
\n        $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c][\'rp\']=ang2($r3[\'s2025\']);
\n
\n        //echo "- - ".$r3[\'code\']." (".$r3[\'name\'].")<br>";
\n        $sql4 = "select `id`,`name`,`code`,`remark`,`s2025`,`level`,`trx` from `fcode` where del=0 and parent=".$r3[\'id\']." order by `code`";
\n        $res4 = mysqli_query($db, $sql4);
\n        $d=0;
\n        while($r4 = mysqli_fetch_assoc($res4)) {
\n          $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c][\'items\'][$d]=$r4;
\n          $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c][\'items\'][$d][\'cd\']=substr($r4[\'code\'],1);
\n          $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c][\'items\'][$d][\'rp\']=ang2($r4[\'s2025\']);
\n          //echo "- - - ".$r4[\'code\']." (".$r4[\'name\'].") [".ang2($r4[\'s2025\'])."]<br>";
\n          $sql5 = "select `id`,`name`,`code`,`remark`,`s2025`,`level` from `fcode` where del=0 and parent=".$r4[\'id\']." order by `code`";
\n          $res5 = mysqli_query($db, $sql5);
\n          $e=0;
\n          while($r5 = mysqli_fetch_assoc($res5)) {
\n            $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c][\'items\'][$d][\'items\'][$e]=$r5;
\n            $dt[\'data\'][$a][\'items\'][$b][\'items\'][$c][\'items\'][$d][\'items\'][$e][\'rp\']=ang2($r5[\'s2025\']);
\n            //echo "- - - - ".$r5[\'code\']." (".$r5[\'name\'].")<br>";
\n            $e++;
\n          }   
\n          $d++;
\n        }   
\n        $c++;
\n      } 
\n      $b++;  
\n    } 
\n    $a++;  
\n  }   
\n  
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748786730');
INSERT INTO `cp_sphp` VALUES('34','api','tes_equ_count','function tes_equ_count(){
\n  global $ar,$db;
\n  $dt=array();
\n  $sql="update `fcode` set s2025=0";
\n  $res=mysqli_query($db,$sql);
\n
\n  $ar[\'fcode\'][\'level4\']=array(\'b3201\',\'b3202\',\'b3203\',\'b3204\',\'b3205\',\'b3206\',\'b3207\',\'b3208\',\'b3209\',\'b3210\');
\n
\n  $ar[\'fcode\'][\'level3\']=array(\'b11\',\'b12\',\'b21\',\'b31\',\'b32\',\'b33\',\'c11\',\'c12\',\'c21\',\'c31\',\'c41\',\'c51\',\'c61\',\'c62\',\'c71\',\'c81\');
\n  /*
\n  $ar[\'fcode\'][\'level2\']=array(\'a01\', \'a02\', \'a03\', \'a04\', \'a05\', \'a06\', \'a07\', \'a08\', \'a09\', \'a10\', \'b11\', \'b12\', \'b21\', \'b33\', \'c1\', \'c2\', \'d1\', \'d2\', \'d3\', \'d4\', \'m1\', \'m2\');
\n  */
\n  $ar[\'fcode\'][\'level2\']=array(\'a01\', \'a02\', \'a03\', \'a04\', \'a05\', \'a06\', \'a07\', \'a08\', \'a09\', \'a10\', \'b11\', \'b12\', \'b21\', \'b33\',\'b1\',\'b2\', \'c1\', \'c2\');
\n
\n  $sql = "select a.*, b.descr as descr,b.seq as seq from account_equation a JOIN `action` b ON a.action_id=b.id where a.st>0 ";
\n  
\n    $sql .= " and a.`year`=\'".date("Y")."\' ";
\n
\n  
\n  //$sql .= " order by a.".$sortby." asc, a.id asc";
\n  $res = mysqli_query($db, $sql);
\n    foreach ($ar[\'equ\'] as $k => $v) {
\n      $j[$v]=0;
\n    }
\n
\n  while($rw = mysqli_fetch_assoc($res)) {
\n    foreach ($ar[\'equ\'] as $k1 => $v1) {
\n      $j[$v1]=$j[$v1]+$rw[$v1];
\n    } 
\n  }
\n
\n  $j[\'aktiva_lancar\']=$j[\'c11\']=$j[\'c11101\']+$j[\'c11201\']+$j[\'c11202\']+$j[\'c11203\']+$j[\'c11204\']+$j[\'c11205\'];
\n
\n  $j[\'aktiva_tak_lancar\']=$j[\'c12\']=$j[\'c12101\']+$j[\'c12201\']+$j[\'c12202\']+$j[\'c12301\']+$j[\'c12302\']+$j[\'c12401\']+$j[\'c12402\'];
\n
\n  $j[\'utang\']=$j[\'c21\']=$j[\'c21100\']+$j[\'c22100\']+$j[\'c23100\'];
\n
\n  $j[\'equity\']=$j[\'c31\']=$j[\'c31100\']+$j[\'c31200\']+$j[\'c31300\'];
\n
\n  $j[\'pendapatan\']=$j[\'c41\']=$j[\'c41100\']+$j[\'c41200\']+$j[\'c41300\'];
\n
\n  $j[\'hpp\']=$j[\'c51\']=$j[\'c51100\']+$j[\'c51200\']+$j[\'c51300\'];
\n
\n  $j[\'beban_penjualan\']=$j[\'c61\']=$j[\'c61101\']+$j[\'c61102\']+$j[\'c61103\']+$j[\'c61104\']+$j[\'c61105\']+$j[\'c61106\'];
\n
\n  $j[\'beban_administrasi\']=$j[\'c62\']=$j[\'c62101\']+$j[\'c62102\']+$j[\'c62103\']+$j[\'c62104\']+$j[\'c62106\']+$j[\'c62107\'];
\n
\n  $j[\'pendapatan_lain\']=$j[\'c71\']=$j[\'c71000\'];
\n
\n  $j[\'beban_lain\']=$j[\'c81\']=$j[\'c81100\']+$j[\'c81200\'];
\n
\n  $j[\'beban\']=$j[\'beban_penjualan\']+$j[\'beban_administrasi\'];
\n
\n  $j[\'aktiva\']=$j[\'aktiva_lancar\']+$j[\'aktiva_tak_lancar\'];
\n
\n  $j[\'laba_kotor\']=$j[\'pendapatan\']+$j[\'hpp\']+$j[\'beban_penjualan\'];
\n
\n  $j[\'laba_sebelum_pph\']=$j[\'laba_kotor\']+$j[\'beban_administrasi\']+$j[\'pendapatan_lain\']+$j[\'beban_lain\'];
\n
\n  $j[\'pph\']=0;
\n
\n  $j[\'laba_setelah_pph\']=$j[\'laba_bersih\']=$j[\'laba_sebelum_pph\']-$j[\'pph\'];
\n
\n  $j[\'pasiva\']=$j[\'utang\']+$j[\'equity\']+$j[\'laba_setelah_pph\']; 
\n
\n  //level4
\n  $j[\'b3201\']=$j[\'c41\'];
\n  $j[\'b3202\']=$j[\'c51\'];
\n  $j[\'b3203\']=$j[\'c61\'];
\n  $j[\'b3204\']=$j[\'b3201\']+$j[\'b3202\']+$j[\'b3203\'];
\n  $j[\'b3205\']=$j[\'c62\'];
\n  $j[\'b3206\']=$j[\'c71\'];
\n  $j[\'b3207\']=$j[\'c81\'];
\n  $j[\'b3208\']=$j[\'b3204\']+$j[\'b3205\']+$j[\'b3206\']+$j[\'b3207\'];
\n  $j[\'b3209\']=$j[\'pph\'];
\n  $j[\'b3210\']=$j[\'b3208\']+$j[\'b3209\'];
\n
\n  //level3;
\n  $j[\'b11\']=$j[\'c11\'];
\n  $j[\'b12\']=$j[\'c12\'];
\n  $j[\'b21\']=$j[\'c21\'];
\n  $j[\'b31\']=$j[\'c31\'];
\n  $j[\'b32\']=$j[\'b3210\'];
\n  $j[\'b33\']=$j[\'c31\']+$j[\'b32\'];
\n
\n  //level2
\n  $j[\'a01\']=$j[\'c41\'];
\n  $j[\'a02\']=$j[\'c51\'];
\n  $j[\'a03\']=$j[\'c61\'];
\n  $j[\'a04\']=$j[\'laba_kotor\'];
\n  $j[\'a05\']=$j[\'c62\'];
\n  $j[\'a06\']=$j[\'c71\'];
\n  $j[\'a07\']=$j[\'c81\'];
\n  $j[\'a08\']=$j[\'laba_sebelum_pph\'];
\n  $j[\'a09\']=$j[\'pph\'];
\n  $j[\'a10\']=$j[\'laba_setelah_pph\'];
\n
\n  $j[\'b1\']=$j[\'b11\']+$j[\'b12\'];
\n  $j[\'b2\']=$j[\'b21\']+$j[\'b33\'];
\n
\n  $j[\'c1\']=$j[\'c11\']+$j[\'c12\'];
\n  $j[\'c2\']=$j[\'pasiva\'];
\n
\n  foreach ($ar[\'equ\'] as $k1 => $v1) {  
\n    $udt=array(
\n      \'s2025\'=>$j[$v1],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v1."\'",1);
\n  } 
\n  foreach ($ar[\'fcode\'][\'level4\'] as $k => $v) {
\n    $udt=array(
\n      \'s2025\'=>$j[$v],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v."\'",1);
\n  }
\n  foreach ($ar[\'fcode\'][\'level3\'] as $k => $v) {
\n    $udt=array(
\n      \'s2025\'=>$j[$v],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v."\'",1);
\n  }
\n  foreach ($ar[\'fcode\'][\'level2\'] as $k => $v) {
\n    $udt=array(
\n      \'s2025\'=>$j[$v],
\n    );
\n    $dt[\'sql\'][]=Update_v2($db,"fcode",$udt,"code=\'".$v."\'",1);
\n  }
\n  $dt[\'count\']=$j;
\n  return $dt; 
\n}','php','0','2','1','1748781864');
INSERT INTO `cp_sphp` VALUES('35','api','journal','function journal($year=2025){
\n  global $ar,$db;
\n  $dt=array();
\n
\n  $sql="SELECT account_code from journal where `year`=".$year." group by account_code";
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res)>0) {  
\n    $dt[\'success\']=true;
\n    $a=0;
\n    while($r1=mysqli_fetch_assoc($res)) {
\n      $dt[\'data\'][$r1[\'account_code\']][\'name\']=$ar[\'acc_name\'][$r1[\'account_code\']];
\n      //$dt[\'data\'][\'title\']=$ar[\'acc_name\'][$r1[\'account_code\']];
\n      $sql2="SELECT a.*,b.descr,b.img from `journal` a JOIN `action` b ON a.action_id=b.id where a.account_code=\'".$r1[\'account_code\']."\' and a.`year`=".$year." order by seq";
\n      $res2=mysqli_query($db,$sql2);
\n      $b=0;
\n      while($r2=mysqli_fetch_assoc($res2)) {
\n    if($r2[\'inout\']==2) {
\n      $rp="-".ang2($r2[\'amount\']);
\n      $col="red";
\n      //$p3=$r2[\'pay_to\'];       
\n    } else {
\n      $rp=ang2($r2[\'amount\']);
\n      $col="green"; 
\n      //$p3=$r2[\'pay_from\'];       
\n    }
\n      
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b]=$r2;
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'image\']=$ar[\'imgurl\']."".$r2[\'img\'];  
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'rp\']=$rp;
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'col\']=$col;
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'tgl\']=date("Y-m-d",$r2[\'action_at\']);
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'rp_debit\']=ang2($r2[\'debit\']);
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'rp_credit\']=ang2($r2[\'credit\']);
\n        $dt[\'data\'][$r1[\'account_code\']][\'items\'][$b][\'rp_balance\']=ang2($r2[\'balance\']);
\n        $b++;
\n      }
\n      $a++;
\n    }
\n
\n  } else {
\n    $dt[\'error\']=true;
\n    $dt[\'message\']="data not found";
\n  }
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748672889');
INSERT INTO `cp_sphp` VALUES('36','api','action_byseq','function action_byseq() {
\n  global $ar,$db;
\n  $dt=array();
\n  $sql="SELECT * from `action` where id>0 order by id desc";
\n  $res2=mysqli_query($db,$sql);
\n  $d=0;
\n  while($r2=mysqli_fetch_assoc($res2)) {
\n    //$d=$r2[\'id\'];
\n    $dt[$d]=$r2;    
\n    if($r2[\'inout\']==2) {
\n      $rp="-".ang2($r2[\'amount\']);
\n      $col="red";
\n      $p3=$r2[\'pay_to\'];       
\n    } else {
\n      $rp=ang2($r2[\'amount\']);
\n      $col="green"; 
\n      $p3=$r2[\'pay_from\'];       
\n    }
\n    $dt[$d][\'rp\']=$rp;    
\n    $dt[$d][\'col\']=$col;    
\n    $dt[$d][\'p3\']=$p3;    
\n    $dt[$d][\'image\']=$ar[\'imgurl\']."".$r2[\'img\'];  
\n    $dt[$d][\'act_datetime\']=date("Y-m-d H:i:s",$r2[\'action_at\']);
\n    $dt[$d][\'act_date\']=date("Y-m-d",$r2[\'action_at\']);
\n    $dt[$d][\'act_month\']=date("Y-m",$r2[\'action_at\']);
\n    $dt[$d][\'update\']=date("Y-m-d H:i:s",$r2[\'update_at\']);
\n    $d++;
\n  }
\n  return $dt;    
\n}','php','0','2','1','1748424079');
INSERT INTO `cp_sphp` VALUES('37','common','UploadImageData','function UploadImageData($POST,$img_data,$modul) {
\n    global $db,$ar;
\n    //echo "<pre>"; print_r($POST); echo "</pre>";
\n    //echo "<pre>"; print_r($FILES); echo "</pre>";
\n    if(isset($POST[\'title\']) && ($POST[\'title\']!=\'\')) {
\n        $title=$POST[\'title\'];
\n    } else {
\n        $title="";
\n    }
\n    if(isset($POST[\'caption\']) && ($POST[\'caption\']!=\'\')) {
\n        $caption=$POST[\'caption\'];
\n    } else {
\n        $caption="";
\n    }
\n    //get last id
\n    $sql2= "select id from `files` order by id desc limit 1";
\n    $res2=mysqli_query($db,$sql2);
\n    $r2=mysqli_fetch_assoc($res2);
\n
\n    if(isset($r2[\'id\']) && ($r2[\'id\']>0)) {
\n        $iid=$r2[\'id\']+1;
\n    } else {
\n        $iid=1;
\n    }
\n
\n    //get last seq
\n    $sql9= "select seq from `files` where item_id=".$POST[\'id\']." and modul=\'".$modul."\' order by seq desc limit 1";
\n    $res9=mysqli_query($db,$sql9);
\n    $r9=mysqli_fetch_assoc($res9);
\n
\n    if(isset($r9[\'seq\']) && ($r9[\'seq\']>0)) {
\n        $seq=$r9[\'seq\']+1;
\n    } else {
\n        $seq=1;
\n    }
\n
\n    $folder_y=$ar[\'img_path\']."".$modul."/".date("y");
\n    if (!is_dir($folder_y)) {
\n        mkdir($folder_y, 0777, true);
\n    }
\n    $folder_ym=$folder_y."/".date("m");
\n    if (!is_dir($folder_ym)) {
\n        mkdir($folder_ym, 0777, true);
\n    }
\n
\n    $folder_ymd=$folder_ym."/".date("d");
\n    if (!is_dir($folder_ymd)) {
\n        mkdir($folder_ymd, 0777, true);
\n    }
\n
\n    $folder_ymdh=$folder_ymd."/".date("H");
\n    if (!is_dir($folder_ymdh)) {
\n        mkdir($folder_ymdh, 0777, true);
\n    }
\n
\n    $folder_main=$folder_ymdh."/".$POST[\'id\'];
\n
\n    if (!is_dir($folder_main)) {
\n        mkdir($folder_main, 0777, true);
\n    }
\n    $folder_seq=$folder_main."/".$seq;
\n    if (!is_dir($folder_seq)) {
\n        mkdir($folder_seq, 0777, true);
\n    }
\n
\n    $folder_tmp=$folder_seq."/tmp";
\n    if (!is_dir($folder_tmp)) {
\n        mkdir($folder_tmp, 0777, true);
\n    }
\n
\n    /*$sub_folder=$_POST[\'id\']."/".$seq."/";
\n    switch($_POST[\'file_type\']) {
\n      case "Image";
\n
\n    }*/
\n
\n    $path=date("y")."/".date("m")."/".date("d")."/".date("H")."/".$POST[\'id\'];;
\n    $data=$img_data;
\n    $image_info = getimagesize($img_data);
\n    $extension = (isset($image_info["mime"]) ? explode(\'/\', $image_info["mime"] )[1]: "");
\n    $file_name=date("YmdHis").".".$extension;
\n
\n    $data = str_replace(\'data:image/\'.$extension.\';base64,\', \'\', $data);
\n    $data = str_replace(\' \',\'+\',$data);
\n    $bin = base64_decode($data);
\n    if ($bin === false) {
\n      //$dt[\'info\']="convert invalid";  
\n    }
\n    //$img = imageCreateFromString($bin);
\n    //tmp file
\n    $tmp_file=$folder_tmp.\'/\'.$file_name;
\n    file_put_contents($tmp_file, $bin);
\n
\n    $sub_folder=$folder_seq."/image";
\n    $sub_folder_big=$folder_seq."/image/big";
\n    $sub_folder_medium=$folder_seq."/image/medium";
\n    $sub_folder_small=$folder_seq."/image/small";
\n
\n    if(!is_dir($sub_folder)){ mkdir($sub_folder, 0755); }
\n    if(!is_dir($sub_folder_big)){ mkdir($sub_folder_big, 0755); }
\n    if(!is_dir($sub_folder_medium)){ mkdir($sub_folder_medium, 0755); }
\n    if(!is_dir($sub_folder_small)){ mkdir($sub_folder_small, 0755); }
\n
\n    $source_image=$tmp_file;
\n    $img_big= $sub_folder_big."/".$file_name;
\n    $img_medium= $sub_folder_medium."/".$file_name;
\n    $img_small= $sub_folder_small."/".$file_name;
\n    //$destination=$ar[\'img_path\']."".$img_url;
\n    //resize(640, $destination, $source_image);
\n    image_handler($source_image,$img_big,1080,1080,90,false);
\n    image_handler($source_image,$img_medium,800,800,90,false);
\n    image_handler($source_image,$img_small,150,150,90,false);
\n
\n    $udata2=array(
\n      \'id\'=>$iid,
\n      \'seq\'=>$seq,
\n      \'modul\'=>$modul,
\n      \'item_id\'=>$POST[\'id\'],
\n      \'type\'=>\'image\',
\n      \'title\'=>gpc($title),
\n      \'caption\'=>gpc($caption),
\n      \'url_original\'=>"temp/".$file_name,
\n      \'create_at\'=>time(),
\n      \'path\'=>$path,
\n      \'url\'=>$file_name
\n      );
\n    Insert($db,"files",$udata2,0);
\n
\n    $udt2=array(
\n      \'img\'=>$modul."/".$path."/".$seq."/image/small/".$file_name,
\n    );
\n    Update($db,$modul,$udt2,"id=".$POST[\'id\']);
\n}','php','0','2','3','1748687899');
INSERT INTO `cp_sphp` VALUES('38','common','genToken','function genToken($length = 10) {
\n  $characters = \'abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPRSTUVWXYZ_@!)(^%\';
\n  $charactersLength = strlen($characters);
\n  $randomString = \'\';
\n  for ($i = 0; $i < $length; $i++) {
\n      $randomString .= $characters[rand(0, $charactersLength - 1)];
\n  }
\n  return $randomString;
\n}','php','0','2','3','1748687964');
INSERT INTO `cp_sphp` VALUES('39','common','arCss','function arCss($css) {
\n  $cleanCss = [];
\n
\n  // Remove css comments
\n  $clean1 = explode(\'/*\', $css);
\n  foreach($clean1 as $clean2) {
\n      $clean3 = explode(\'*/\', $clean2);
\n      $cleanCss[] = $clean3[count($clean3) -1];
\n  }
\n  $css = implode(\'\', $cleanCss);
\n  $temp = explode(\'}\', $css);
\n  $params = [];
\n  $type = \'all\';
\n  $nextBracketIsNotMediaEnd = false;
\n  foreach($temp as $tem2) {
\n      $data = explode(\'{\', $tem2);
\n      if (count($data) == 1) {
\n          if ($nextBracketIsNotMediaEnd) {
\n              $nextBracketIsNotMediaEnd = false;
\n          } else {
\n              $type = \'all\';
\n              continue;
\n          }
\n      }
\n      if (count($data) == 3) {
\n          $typeTemp = trim($data[0]);
\n          if (substr( $typeTemp, 0, 6 ) === "@media" ) {
\n              $type = $typeTemp;
\n              array_shift($data);
\n          } else {
\n              $data[1] = $data[0].$data[1];
\n              $nextBracketIsNotMediaEnd = true;
\n          }
\n      }
\n      if (count($data) == 2) {
\n          $rows = explode(\';\',$data[1]);
\n
\n          $tempData = [];
\n          foreach($rows as $row) {
\n              $paramsinline = explode(\':\', $row);
\n              if (empty($paramsinline[0]) || empty($paramsinline[1])){
\n                  continue;
\n              }
\n              $tempData[trim($paramsinline[0])] = trim($paramsinline[1]);
\n          }
\n          $selector = trim($data[0]);
\n          if (!empty($tempData)) {
\n              if (empty($params[$type][$selector])) {
\n                  $params[$type][$selector] = $tempData;
\n              } else {
\n                  $params[$type][$selector] = array_merge($params[$type][$selector], $tempData);
\n              }
\n          }
\n      }
\n  }
\n  return $params; 
\n}','php','0','2','3','1748687993');
INSERT INTO `cp_sphp` VALUES('40','common','genRandom','function genRandom($length = 10) {
\n    $characters = \'1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ\';
\n    $charactersLength = strlen($characters);
\n    $randomString = \'\';
\n    for ($i = 0; $i < $length; $i++) {
\n        $randomString .= $characters[rand(0, $charactersLength - 1)];
\n    }
\n    return $randomString;
\n}','php','0','2','3','1748688025');
INSERT INTO `cp_sphp` VALUES('41','common','genCode','function genCode($length = 10) {
\n    $characters = \'abcdefghijkmnpqrstuvwxyzABCDEFGHJKLMNPRSTUVWXYZ\';
\n    $charactersLength = strlen($characters);
\n    $randomString = \'\';
\n    for ($i = 0; $i < $length; $i++) {
\n        $randomString .= $characters[rand(0, $charactersLength - 1)];
\n    }
\n    return $randomString;
\n}','php','0','2','3','1748688046');
INSERT INTO `cp_sphp` VALUES('42','common','getUserIP','function getUserIP(){
\n  $client  = @$_SERVER[\'HTTP_CLIENT_IP\'];
\n  $forward = @$_SERVER[\'HTTP_X_FORWARDED_FOR\'];
\n  $remote  = $_SERVER[\'REMOTE_ADDR\'];
\n
\n  if(filter_var($client, FILTER_VALIDATE_IP)){
\n      $ip = $client;
\n  }
\n  elseif(filter_var($forward, FILTER_VALIDATE_IP)){
\n      $ip = $forward;
\n  }
\n  else{
\n      $ip = $remote;
\n  }
\n  return $ip;
\n}','php','0','2','3','1748688096');
INSERT INTO `cp_sphp` VALUES('43','common','emptyDir','function emptyDir($dir) {
\n  if (is_dir($dir)) {
\n    $scn = scandir($dir);
\n    foreach ($scn as $files) {
\n      if ($files !== \'.\') {
\n        if ($files !== \'..\') {
\n          if (!is_dir($dir . \'/\' . $files)) {
\n            unlink($dir . \'/\' . $files);
\n          } else {
\n            emptyDir($dir . \'/\' . $files);
\n            rmdir($dir . \'/\' . $files);
\n          }
\n        }
\n      }
\n    }
\n  }
\n}','php','0','2','3','1748688148');
INSERT INTO `cp_sphp` VALUES('44','common','slug','function slug($text){
\n  // replace non letter or digits by -
\n  $text = preg_replace(\'~[^pLd]+~u\', \'-\', $text);
\n  // transliterate
\n  $text = iconv(\'utf-8\', \'us-ascii//TRANSLIT\', $text);
\n  // remove unwanted characters
\n  $text = preg_replace(\'~[^-w]+~\', \'\', $text);
\n  // trim
\n  $text = trim($text, \'-\');
\n  // remove duplicate -
\n  $text = preg_replace(\'~-+~\', \'-\', $text);
\n  // lowercase
\n  $text = strtolower($text);
\n  if (empty($text)) {
\n    return \'n-a\';
\n  }
\n  return $text;
\n}','php','0','2','3','1748688192');
INSERT INTO `cp_sphp` VALUES('45','common','image_resize','function image_resize($newWidth, $targetFile, $originalFile) {
\n  $info = getimagesize($originalFile);
\n  $mime = $info[\'mime\'];
\n
\n  switch ($mime) {
\n    case \'image/jpeg\':
\n      $image_create_func = \'imagecreatefromjpeg\';
\n      $image_save_func = \'imagejpeg\';
\n      $new_image_ext = \'jpg\';
\n      break;
\n
\n    case \'image/png\':
\n      $image_create_func = \'imagecreatefrompng\';
\n      $image_save_func = \'imagepng\';
\n      $new_image_ext = \'png\';
\n      break;
\n
\n    case \'image/gif\':
\n      $image_create_func = \'imagecreatefromgif\';
\n      $image_save_func = \'imagegif\';
\n      $new_image_ext = \'gif\';
\n      break;
\n
\n    default: 
\n      throw new Exception(\'Unknown image type.\');
\n  }
\n
\n  $img = $image_create_func($originalFile);
\n  list($width, $height) = getimagesize($originalFile);
\n  $newHeight = ($height / $width) * $newWidth;
\n  $tmp = imagecreatetruecolor($newWidth, $newHeight);
\n  imagecopyresampled($tmp, $img, 0, 0, 0, 0, $newWidth, $newHeight, $width, $height);
\n  if (file_exists($targetFile)) {
\n    unlink($targetFile);
\n  }
\n  $image_save_func($tmp, "$targetFile");
\n}','php','0','2','3','1748692193');
INSERT INTO `cp_sphp` VALUES('46','common','image_resize_w_mark','function image_resize_w_mark($img_src,$img_dst,$new_w,$quality=80,$wmsource=false) {
\n  // The getimagesize functions provides an "imagetype" string contstant, which can be passed to the image_type_to_mime_type function for the corresponding mime type
\n  $info = getimagesize($img_src);
\n  $imgtype = image_type_to_mime_type($info[2]);
\n  // Then the mime type can be used to call the correct function to generate an image resource from the provided image
\n  switch ($imgtype) {
\n  case \'image/jpeg\':
\n    $source = imagecreatefromjpeg($img_src);
\n    break;
\n  case \'image/gif\':
\n    $source = imagecreatefromgif($img_src);
\n    break;
\n  case \'image/png\':
\n    $source = imagecreatefrompng($img_src);
\n    break;
\n  default:
\n    die($img_src.\'Invalid image type.\');
\n  }
\n  // Now, we can determine the dimensions of the provided image, and calculate the width/height ratio
\n  $src_w = imagesx($source);
\n  $src_h = imagesy($source);
\n  $src_ratio = $src_h/$src_w;
\n  // Now we can use the power of math to determine whether the image needs to be cropped to fit the new dimensions, and if so then whether it should be cropped vertically or horizontally. We\'re just going to crop from the center to keep this simple.
\n  
\n  /*
\n  if ($tn_w/$tn_h > $src_ratio) {
\n  $new_h = $tn_w/$src_ratio;
\n  $new_w = $tn_w;
\n  } else {
\n  $new_w = $tn_h*$src_ratio;
\n  $new_h = $tn_h;
\n  }
\n  */
\n  
\n  $new_h=$new_w*$src_ratio;
\n  $tn_w=$new_w;
\n  $tn_h=$new_h;
\n  
\n  $x_mid = $new_w/2;
\n  $y_mid = $new_h/2;
\n
\n  // Now actually apply the crop and resize!
\n  $newpic = imagecreatetruecolor(round($new_w), round($new_h));
\n  imagecopyresampled($newpic, $source, 0, 0, 0, 0, $new_w, $new_h, $src_w, $src_h);
\n  $final = imagecreatetruecolor($tn_w, $tn_h);
\n  imagecopyresampled($final, $newpic, 0, 0, ($x_mid-($tn_w/2)), ($y_mid-($tn_h/2)), $tn_w, $tn_h, $tn_w, $tn_h);
\n  // If a watermark source file is specified, get the information about the watermark as well. This is the same thing we did above for the source image.
\n  if($wmsource) {
\n  $info = getimagesize($wmsource);
\n  $imgtype = image_type_to_mime_type($info[2]);
\n  switch ($imgtype) {
\n    case \'image/jpeg\':
\n      $watermark = imagecreatefromjpeg($wmsource);
\n      break;
\n    case \'image/gif\':
\n      $watermark = imagecreatefromgif($wmsource);
\n      break;
\n    case \'image/png\':
\n      $watermark = imagecreatefrompng($wmsource);
\n      break;
\n    default:
\n      die(\'Invalid watermark type.\');
\n  }
\n  // Determine the size of the watermark, because we\'re going to specify the placement from the top left corner of the watermark image, so the width and height of the watermark matter.
\n  $wm_w = imagesx($watermark);
\n  $wm_h = imagesy($watermark);
\n  // Now, figure out the values to place the watermark in the bottom right hand corner. You could set one or both of the variables to "0" to watermark the opposite corners, or do your own math to put it somewhere else.
\n  $wm_x = ($tn_w - $wm_w)/2;
\n  $wm_y = ($tn_h - $wm_h)/2;
\n  // Copy the watermark onto the original image
\n  // The last 4 arguments just mean to copy the entire watermark
\n  imagecopy($final, $watermark, $wm_x, $wm_y, 0, 0, $wm_w, $wm_h);
\n  }
\n  // Ok, save the output as a jpeg, to the specified img_dst path at the desired quality.
\n  // You could use imagepng or imagegif here if you wanted to output those file types instead.
\n  if(Imagejpeg($final,$img_dst,$quality)) {
\n  return true;
\n  }
\n  // If something went wrong
\n  return false;
\n}','php','0','2','3','1748693189');
INSERT INTO `cp_sphp` VALUES('47','common','image_handler','function image_handler($source_image,$destination,$tn_w = 100,$tn_h = 100,$quality = 80,$wmsource = false) {
\n  // The getimagesize functions provides an "imagetype" string contstant, which can be passed to the image_type_to_mime_type function for the corresponding mime type
\n  $info = getimagesize($source_image);
\n  $imgtype = image_type_to_mime_type($info[2]);
\n  // Then the mime type can be used to call the correct function to generate an image resource from the provided image
\n  switch ($imgtype) {
\n  case \'image/jpeg\':
\n    $source = imagecreatefromjpeg($source_image);
\n    break;
\n  case \'image/gif\':
\n    $source = imagecreatefromgif($source_image);
\n    break;
\n  case \'image/png\':
\n    $source = imagecreatefrompng($source_image);
\n    break;
\n  default:
\n    die($source_image.\'Invalid image type.\');
\n  }
\n  // Now, we can determine the dimensions of the provided image, and calculate the width/height ratio
\n  $src_w = imagesx($source);
\n  $src_h = imagesy($source);
\n  $src_ratio = $src_w/$src_h;
\n  // Now we can use the power of math to determine whether the image needs to be cropped to fit the new dimensions, and if so then whether it should be cropped vertically or horizontally. We\'re just going to crop from the center to keep this simple.
\n  if ($tn_w/$tn_h > $src_ratio) {
\n  $new_h = $tn_w/$src_ratio;
\n  $new_w = $tn_w;
\n  } else {
\n  $new_w = $tn_h*$src_ratio;
\n  $new_h = $tn_h;
\n  }
\n  $x_mid = $new_w/2;
\n  $y_mid = $new_h/2;
\n  // Now actually apply the crop and resize!
\n  $newpic = imagecreatetruecolor(round($new_w), round($new_h));
\n  imagecopyresampled($newpic, $source, 0, 0, 0, 0, $new_w, $new_h, $src_w, $src_h);
\n  $final = imagecreatetruecolor($tn_w, $tn_h);
\n  imagecopyresampled($final, $newpic, 0, 0, ($x_mid-($tn_w/2)), ($y_mid-($tn_h/2)), $tn_w, $tn_h, $tn_w, $tn_h);
\n  // If a watermark source file is specified, get the information about the watermark as well. This is the same thing we did above for the source image.
\n  if($wmsource) {
\n  $info = getimagesize($wmsource);
\n  $imgtype = image_type_to_mime_type($info[2]);
\n  switch ($imgtype) {
\n    case \'image/jpeg\':
\n      $watermark = imagecreatefromjpeg($wmsource);
\n      break;
\n    case \'image/gif\':
\n      $watermark = imagecreatefromgif($wmsource);
\n      break;
\n    case \'image/png\':
\n      $watermark = imagecreatefrompng($wmsource);
\n      break;
\n    default:
\n      die(\'Invalid watermark type.\');
\n  }
\n  // Determine the size of the watermark, because we\'re going to specify the placement from the top left corner of the watermark image, so the width and height of the watermark matter.
\n  $wm_w = imagesx($watermark);
\n  $wm_h = imagesy($watermark);
\n  // Now, figure out the values to place the watermark in the bottom right hand corner. You could set one or both of the variables to "0" to watermark the opposite corners, or do your own math to put it somewhere else.
\n  $wm_x = ($tn_w - $wm_w)/2;
\n  $wm_y = ($tn_h - $wm_h)/2;
\n  // Copy the watermark onto the original image
\n  // The last 4 arguments just mean to copy the entire watermark
\n  imagecopy($final, $watermark, $wm_x, $wm_y, 0, 0, $wm_w, $wm_h);
\n  }
\n  // Ok, save the output as a jpeg, to the specified destination path at the desired quality.
\n  // You could use imagepng or imagegif here if you wanted to output those file types instead.
\n  if(Imagejpeg($final,$destination,$quality)) {
\n  return true;
\n  }
\n  // If something went wrong
\n  return false;
\n}','php','0','2','3','1748688345');
INSERT INTO `cp_sphp` VALUES('48','common','UploadImage','function UploadImage($POST,$FILES,$modul) {
\n  global $db,$ar;
\n  if(isset($POST[\'title\']) && ($POST[\'title\']!=\'\')) {
\n      $title=$POST[\'title\'];
\n  } else {
\n      $title="";
\n  }
\n  if(isset($POST[\'caption\']) && ($POST[\'caption\']!=\'\')) {
\n      $caption=$POST[\'caption\'];
\n  } else {
\n      $caption="";
\n  }
\n  //get last id
\n  $sql2= "select id from `files` order by id desc limit 1";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_fetch_assoc($res2);
\n
\n  if(isset($r2[\'id\']) && ($r2[\'id\']>0)) {
\n      $iid=$r2[\'id\']+1;
\n  } else {
\n      $iid=1;
\n  }
\n
\n  //get last seq
\n  $sql9= "select seq from `files` where item_id=".$POST[\'id\']." and modul=\'".$modul."\' order by seq desc limit 1";
\n  echo $sql9."<br>";
\n  $res9=mysqli_query($db,$sql9);
\n  $r9=mysqli_fetch_assoc($res9);
\n
\n  if(isset($r9[\'seq\']) && ($r9[\'seq\']>0)) {
\n    $seq=$r9[\'seq\']+1;
\n  } else {
\n    $seq=1;
\n  }
\n
\n  $folder_y=$ar[\'img_path\'].$modul."/".date("y");
\n  if (!is_dir($folder_y)) {
\n    mkdir($folder_y, 0777, true);
\n  }
\n  $folder_ym=$folder_y."/".date("m");
\n  if (!is_dir($folder_ym)) {
\n    mkdir($folder_ym, 0777, true);
\n  }
\n
\n  $folder_ymd=$folder_ym."/".date("d");
\n  if (!is_dir($folder_ymd)) {
\n    mkdir($folder_ymd, 0777, true);
\n  }
\n
\n  $folder_ymdh=$folder_ymd."/".date("H");
\n  if (!is_dir($folder_ymdh)) {
\n    mkdir($folder_ymdh, 0777, true);
\n  }
\n
\n  $folder_main=$folder_ymdh."/".$POST[\'id\'];
\n  if (!is_dir($folder_main)) {
\n    mkdir($folder_main, 0777, true);
\n  }
\n  $folder_seq=$folder_main."/".$seq;
\n  if (!is_dir($folder_seq)) {
\n    mkdir($folder_seq, 0777, true);
\n  }
\n  $folder_tmp=$folder_seq."/tmp";
\n  if (!is_dir($folder_tmp)) {
\n    mkdir($folder_tmp, 0777, true);
\n  }
\n
\n  /*$sub_folder=$_POST[\'id\']."/".$seq."/";
\n  switch($_POST[\'file_type\']) {
\n    case "Image";
\n
\n  }*/
\n
\n  $path=date("y")."/".date("m")."/".date("d")."/".date("H")."/".$POST[\'id\'];
\n  $e_ext=explode("/",$FILES[\'file\'][\'type\']);
\n  $file_name=date("YmdHis").".".$e_ext[1];
\n
\n  if($POST[\'file_type\']==\'image\') {
\n    if (move_uploaded_file($FILES[\'file\'][\'tmp_name\'], $folder_tmp.\'/\'. $FILES["file"][\'name\'])) {
\n      //echo "Image Card Front Uploaded";
\n      //$file_name=date("YmdHis").".jpg";
\n
\n
\n      $sub_folder=$folder_seq."/image";
\n      $sub_folder_big=$folder_seq."/image/big";
\n      $sub_folder_medium=$folder_seq."/image/medium";
\n      $sub_folder_small=$folder_seq."/image/small";
\n
\n      if(!is_dir($sub_folder)){ mkdir($sub_folder, 0755); }
\n      if(!is_dir($sub_folder_big)){ mkdir($sub_folder_big, 0755); }
\n      if(!is_dir($sub_folder_medium)){ mkdir($sub_folder_medium, 0755); }
\n      if(!is_dir($sub_folder_small)){ mkdir($sub_folder_small, 0755); }
\n
\n      $source_image=$folder_tmp.\'/\'. $FILES["file"][\'name\'];
\n      $img_big= $sub_folder_big."/".$file_name;
\n      $img_medium= $sub_folder_medium."/".$file_name;
\n      $img_small= $sub_folder_small."/".$file_name;
\n      //$destination=$ar[\'img_path\']."".$img_url;
\n      //resize(640, $destination, $source_image);
\n      image_handler($source_image,$img_big,1080,1080,90,false);
\n      image_handler($source_image,$img_medium,800,800,90,false);
\n      image_handler($source_image,$img_small,150,150,90,false);
\n
\n      echo $sub_folder_small."<br>";
\n
\n      $udata2=array(
\n        \'id\'=>$iid,
\n        \'seq\'=>$seq,
\n        \'modul\'=>$modul,
\n        \'item_id\'=>$POST[\'id\'],
\n        \'type\'=>\'image\',
\n        \'title\'=>gpc($title),
\n        \'caption\'=>gpc($caption),
\n        \'url_original\'=>\'tmp/\'.$FILES["file"][\'name\'],
\n        \'create_at\'=>time(),
\n        \'path\'=>$path,
\n        \'url\'=>$file_name
\n        );
\n      Insert($db,"files",$udata2,1);
\n
\n      $udt2=array(
\n        \'img\'=>$modul."/".$path."/".$seq."/image/small/".$file_name,
\n      );
\n      Update($db,$modul,$udt2,"id=".$POST[\'id\'],1);
\n    }
\n  } else {
\n    if (move_uploaded_file($FILES[\'file\'][\'tmp_name\'], $folder_seq.\'/\'.$file_name)) {
\n      //echo "Image Card Front Uploaded";
\n      $udata2=array(
\n        \'id\'=>$iid,
\n        \'seq\'=>$seq,
\n        \'modul\'=>$modul,
\n        \'item_id\'=>$POST[\'id\'],
\n        \'type\'=>$POST[\'file_type\'],
\n        \'title\'=>gpc($title),
\n        \'caption\'=>gpc($caption),
\n        \'url_original\'=>\'tmp/\'.$FILES["file"][\'name\'],
\n        \'create_at\'=>time(),
\n        \'path\'=>$path,
\n        \'url\'=>$file_name,
\n        );
\n      Insert($db,"files",$udata2,0);
\n    }
\n  }   
\n}','php','0','2','3','1748688515');
INSERT INTO `cp_sphp` VALUES('49','common','CopyUrlImage','function CopyUrlImage($POST,$modul) {
\n  global $db,$ar;
\n  if(isset($POST[\'title\']) && ($POST[\'title\']!=\'\')) {
\n      $title=$POST[\'title\'];
\n  } else {
\n      $title="";
\n  }
\n  if(isset($POST[\'caption\']) && ($POST[\'caption\']!=\'\')) {
\n      $caption=$POST[\'caption\'];
\n  } else {
\n      $caption="";
\n  }
\n  //get last id
\n  $sql2= "select id from `files` order by id desc limit 1";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_fetch_assoc($res2);
\n
\n  if(isset($r2[\'id\']) && ($r2[\'id\']>0)) {
\n      $iid=$r2[\'id\']+1;
\n  } else {
\n      $iid=1;
\n  }
\n
\n
\n  //get last seq
\n  $sql9= "select seq from `files` where item_id=".$POST[\'id\']." and modul=\'".$modul."\' order by seq desc limit 1";
\n  //echo $sql9."<br>";
\n  $res9=mysqli_query($db,$sql9);
\n  $r9=mysqli_fetch_assoc($res9);
\n
\n  if(isset($r9[\'seq\']) && ($r9[\'seq\']>0)) {
\n      $seq=$r9[\'seq\']+1;
\n  } else {
\n      $seq=1;
\n  }
\n
\n  $folder_y=$ar[\'img_path\'].$modul."/".date("y");
\n  if (!is_dir($folder_y)) {
\n      mkdir($folder_y, 0777, true);
\n  }
\n  $folder_ym=$folder_y."/".date("m");
\n  if (!is_dir($folder_ym)) {
\n      mkdir($folder_ym, 0777, true);
\n  }
\n
\n  $folder_ymd=$folder_ym."/".date("d");
\n  if (!is_dir($folder_ymd)) {
\n      mkdir($folder_ymd, 0777, true);
\n  }
\n
\n  $folder_ymdh=$folder_ymd."/".date("H");
\n  if (!is_dir($folder_ymdh)) {
\n      mkdir($folder_ymdh, 0777, true);
\n  }
\n
\n  $folder_main=$folder_ymdh."/".$POST[\'id\'];
\n
\n  if (!is_dir($folder_main)) {
\n      mkdir($folder_main, 0777, true);
\n  }
\n  $folder_seq=$folder_main."/".$seq;
\n  if (!is_dir($folder_seq)) {
\n      mkdir($folder_seq, 0777, true);
\n  }
\n
\n  $folder_tmp=$folder_seq."/tmp";
\n  if (!is_dir($folder_tmp)) {
\n      mkdir($folder_tmp, 0777, true);
\n  }
\n
\n  $path=date("y")."/".date("m")."/".date("d")."/".date("H")."/".$POST[\'id\'];
\n  if($POST[\'url_img_src\']!=\'\') {
\n    $info_img = getimagesize($POST[\'url_img_src\']);
\n    $e_ext=explode("/",$info_img[\'mime\']);
\n    $file_name=date("YmdHis").".".$e_ext[1];
\n    $e_url=explode("/",$POST[\'url_img_src\']);
\n
\n    copyimg($POST[\'url_img_src\'],$folder_tmp."/".$file_name);
\n    //echo "Image Card Front Uploaded";
\n    //$file_name=date("YmdHis").".jpg";
\n
\n
\n    $sub_folder=$folder_seq."/image";
\n    $sub_folder_big=$folder_seq."/image/big";
\n    $sub_folder_medium=$folder_seq."/image/medium";
\n    $sub_folder_small=$folder_seq."/image/small";
\n
\n    if(!is_dir($sub_folder)){ mkdir($sub_folder, 0755); }
\n    if(!is_dir($sub_folder_big)){ mkdir($sub_folder_big, 0755); }
\n    if(!is_dir($sub_folder_medium)){ mkdir($sub_folder_medium, 0755); }
\n    if(!is_dir($sub_folder_small)){ mkdir($sub_folder_small, 0755); }
\n
\n    $source_image=$folder_tmp.\'/\'. $file_name;
\n    $img_big= $sub_folder_big."/".$file_name;
\n    $img_medium= $sub_folder_medium."/".$file_name;
\n    $img_small= $sub_folder_small."/".$file_name;
\n    //$destination=$ar[\'img_path\']."".$img_url;
\n    //resize(640, $destination, $source_image);
\n    image_handler($source_image,$img_big,1080,1080,90,false);
\n    image_handler($source_image,$img_medium,800,800,90,false);
\n    image_handler($source_image,$img_small,150,150,90,false);
\n
\n    //echo $sub_folder_small."<br>";
\n
\n    $udata2=array(
\n      \'id\'=>$iid,
\n      \'seq\'=>$seq,
\n      \'modul\'=>$modul,
\n      \'item_id\'=>$POST[\'id\'],
\n      \'type\'=>\'image\',
\n      \'title\'=>gpc($title),
\n      \'caption\'=>gpc($caption),
\n      \'url_original\'=>\'tmp/\'.$file_name,
\n      \'create_at\'=>time(),
\n      \'path\'=>$path,
\n      \'url\'=>$file_name
\n      );
\n    Insert($db,"files",$udata2,0);
\n    $udt2=array(
\n      \'img\'=>$modul."/".$path."/".$seq."/image/small/".$file_name,
\n    );
\n    Update($db,$modul,$udt2,"id=".$POST[\'id\'],0);
\n  }
\n}','php','0','2','3','1748688648');
INSERT INTO `cp_sphp` VALUES('50','common','getDistance','function getDistance($latitude1, $longitude1, $latitude2, $longitude2) {
\n  $theta = $longitude1 - $longitude2;
\n  $miles = (sin(deg2rad($latitude1)) * sin(deg2rad($latitude2))) + (cos(deg2rad($latitude1)) * cos(deg2rad($latitude2)) * cos(deg2rad($theta)));
\n  $miles = acos($miles);
\n  $miles = rad2deg($miles);
\n  $miles = $miles * 60 * 1.1515;
\n  $feet = $miles * 5280;
\n  $yards = $feet / 3;
\n  $kilometers = $miles * 1.609344;
\n  $meters = $kilometers * 1000;
\n  //return compact(\'miles\',\'feet\',\'yards\',\'kilometers\',\'meters\'); 
\n  return $kilometers;
\n}','php','0','2','3','1748688710');
INSERT INTO `cp_sphp` VALUES('51','common','to_tgl','function to_tgl($time) {
\n  if($time>0) {
\n    $tt=date("Y-m-d H:i:s",$time);
\n  } else {
\n    $tt="";
\n  }    
\n  return $tt;
\n}','php','0','2','3','1748688779');
INSERT INTO `cp_sphp` VALUES('52','common','to_hp','function to_hp($ang) {
\n  $sid = preg_replace("/[^0-9]/","",$ang);
\n
\n  $awalan=substr($sid,0,2);
\n  if($awalan==\'08\') {
\n      $newhp="628".substr($sid,2);
\n  } else {
\n      $newhp=$sid;
\n  }
\n
\n  return $newhp;
\n}','php','0','2','3','1748688814');
INSERT INTO `cp_sphp` VALUES('53','common','NoSpace','function NoSpace($ang) {
\n  $sid = preg_replace("/[^A-Za-z0-9]/","",$ang);
\n  return $sid;
\n}','php','0','2','3','1748688840');
INSERT INTO `cp_sphp` VALUES('54','common','to_numeric','function to_numeric($ang) {
\n  $sid = preg_replace("/[^0-9]/","",$ang);
\n  return $sid;
\n}','php','0','2','3','1748688862');
INSERT INTO `cp_sphp` VALUES('55','common','getimg','function getimg($url) {         
\n  $headers[] = \'Accept: image/gif, image/x-bitmap, image/jpeg, image/pjpeg\';              
\n  $headers[] = \'Connection: Keep-Alive\';         
\n  $headers[] = \'Content-type: application/x-www-form-urlencoded;charset=UTF-8\';         
\n  $user_agent = \'php\';         
\n  $process = curl_init($url);         
\n  curl_setopt($process, CURLOPT_HTTPHEADER, $headers);         
\n  curl_setopt($process, CURLOPT_HEADER, 0);         
\n  curl_setopt($process, CURLOPT_USERAGENT, $user_agent); //check here         
\n  curl_setopt($process, CURLOPT_TIMEOUT, 30);         
\n  curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);         
\n  curl_setopt($process, CURLOPT_FOLLOWLOCATION, 1);         
\n  $return = curl_exec($process);         
\n  curl_close($process);         
\n  return $return;     
\n}','php','0','2','3','1748688889');
INSERT INTO `cp_sphp` VALUES('56','common','copyimg','function copyimg($file,$newfile) {
\n  if (copy($file, $newfile)) {
\n    //echo "<br>Copy <b>$file</b> success!<br>";
\n  }else{
\n    //echo "<br>Copy <b>$file</b> failed.<br>";
\n  }
\n}','php','0','2','3','1748695801');
INSERT INTO `cp_sphp` VALUES('57','common','viewImage','function viewImage($modul,$item_id) {
\n  global $db,$ar;
\n  $sql2 = "SELECT * FROM `files` WHERE modul=\'".$modul."\' and item_id=\'".$item_id."\' and `type`=\'image\' ";
\n  $run2 = mysqli_query($db, $sql2);
\n  $ret= "<hr><h3>Images</h3><div class=\'row mb-20 pb-20\'>";
\n  while($r2 = mysqli_fetch_assoc($run2)) {
\n    $img_small=$modul."/".$r2[\'path\']."/".$r2[\'seq\']."/image/small/".$r2[\'url\'];
\n    $img_big=$modul."/".$r2[\'path\']."/".$r2[\'seq\']."/image/big/".$r2[\'url\'];
\n    $ret .= \'
\n    <div class="col-sm-3 col-lg-2 col-xs-6">
\n      <div class="card">
\n    \';
\n    $ret .= \'<img src="\'.$ar[\'url_img\'].\'\'.$img_small.\'" alt="">\';
\n    $ret .= \'\';
\n    $ret .= \'
\n      </div>
\n    </div>\';
\n  }
\n  $ret .= "</div>";
\n  return $ret;
\n}','php','0','2','3','1748692136');
INSERT INTO `cp_sphp` VALUES('58','common','repl_space','function repl_space($text) {
\n  $ret = preg_replace(\'!s+!\', \' \', $text);
\n  return $ret;
\n}','php','0','2','3','1748689052');
INSERT INTO `cp_sphp` VALUES('59','common','Insert','function Insert($mysqli,$table,$data,$v=0){
\n  //global $mysqli;
\n  //print_r($data);
\n  $fields = array_keys( $data );  
\n  $values = array_map( array($mysqli, \'real_escape_string\'), array_values( $data ) );
\n  if($v==1) {
\n    echo "INSERT INTO `$table`(`".implode("`,`",$fields)."`) VALUES (\'".implode("\',\'", $values )."\');";
\n  }
\n  //exit;  
\n  mysqli_query($mysqli, "INSERT INTO `$table`(`".implode("`,`",$fields)."`) VALUES (\'".implode("\',\'", $values )."\');") or die( mysqli_error($mysqli) );
\n}','php','0','2','3','1748692299');
INSERT INTO `cp_sphp` VALUES('60','common','InsertUpdate','function InsertUpdate($mysqli,$table_name,$i_data,$u_data,$v=0){   
\n  $i_fields = array_keys( $i_data );  
\n  $i_values = array_map( array($mysqli, \'real_escape_string\'), array_values( $i_data ) );
\n
\n  $u_fields = array_keys( $u_data );  
\n  $u_values = array_map( array($mysqli, \'real_escape_string\'), array_values( $u_data ) );
\n
\n  $sql = "INSERT INTO `$table_name` (`".implode("`,`",$i_fields)."`) VALUES (\'".implode("\',\'", $i_values )."\') ";    
\n
\n  // start the actual SQL statement
\n  $sql .= " on duplicate key UPDATE ";
\n
\n  // loop and build the column /
\n  $sets = array();
\n  foreach($u_data as $column => $value) {
\n       $sets[] = "`".$column."`=\'".$value."\'";
\n  }
\n  $sql .= implode(\', \', $sets);
\n
\n  if($v==1) {
\n    echo $sql.";<br>";
\n  }
\n  return mysqli_query($mysqli,$sql);
\n}','php','0','2','3','1748692370');
INSERT INTO `cp_sphp` VALUES('61','common','Update','function Update($mysqli,$table_name, $form_data, $where_clause=\'\',$v=0){   
\n  $whereSQL = \'\';
\n  if(!empty($where_clause)){
\n    // check to see if the \'where\' keyword exists
\n    if(substr(strtoupper(trim($where_clause)), 0, 5) != \'WHERE\'){
\n        // not found, add key word
\n      $whereSQL = " WHERE ".$where_clause;
\n    } else {
\n      $whereSQL = " ".trim($where_clause);
\n    }
\n  }
\n  // start the actual SQL statement
\n  $sql = "UPDATE `".$table_name."` SET ";
\n  // loop and build the column /
\n  $sets = array();
\n  foreach($form_data as $column => $value) {
\n    $sets[] = "`".$column."` = \'".$value."\'";
\n  }
\n  $sql .= implode(\', \', $sets);
\n  // append the where statement
\n  $sql .= $whereSQL;
\n  // run and return the query result
\n  if($v==1) {
\n    echo $sql."<br>";
\n  }
\n  return mysqli_query($mysqli,$sql);
\n}','php','0','2','3','1748692470');
INSERT INTO `cp_sphp` VALUES('62','common','Delete','function Delete($mysqli,$table_name, $where_clause=\'\'){   
\n  $whereSQL = \'\';
\n  if(!empty($where_clause)) {
\n    // check to see if the \'where\' keyword exists
\n    if(substr(strtoupper(trim($where_clause)), 0, 5) != \'WHERE\') {
\n      // not found, add keyword
\n      $whereSQL = " WHERE ".$where_clause;
\n    } else {
\n      $whereSQL = " ".trim($where_clause);
\n    }
\n  }
\n  $sql = "DELETE FROM `".$table_name."` ".$whereSQL;
\n  return mysqli_query($mysqli,$sql);
\n}','php','0','2','3','1748692539');
INSERT INTO `cp_sphp` VALUES('63','common','Insert_v2','function Insert_v2($mysqli,$table,$data){
\n  $dt=array();
\n  $fields = array_keys($data);  
\n  $values = array_map(array($mysqli,\'real_escape_string\'),array_values($data));
\n  $sql="INSERT INTO `$table` (`".implode("`,`",$fields)."`) VALUES (\'".implode("\',\'",$values)."\')";
\n  $dt[\'sql\']=$sql;
\n  if(mysqli_query($mysqli,$sql)) {
\n    $dt[\'result\']="Success";
\n  } else {
\n    $dt[\'result\']="Error";    
\n  }
\n  return json_encode($dt);
\n}','php','0','2','3','1748692565');
INSERT INTO `cp_sphp` VALUES('64','common','InsertUpdate_v2','function InsertUpdate_v2($mysqli,$table_name,$i_data,$u_data){   
\n  $dt=array();
\n  $i_fields = array_keys($i_data);  
\n  $i_values = array_map(array($mysqli, \'real_escape_string\'), array_values($i_data));
\n
\n  $u_fields = array_keys($u_data);  
\n  $u_values = array_map(array($mysqli, \'real_escape_string\'), array_values($u_data));
\n
\n  $sql = "INSERT INTO `$table_name` (`".implode("`,`",$i_fields)."`) VALUES (\'".implode("\',\'", $i_values)."\')";
\n
\n  // start the actual SQL statement
\n  $sql .= " on duplicate key UPDATE ";
\n
\n  // loop and build the column /
\n  $sets = array();
\n  foreach($u_data as $column => $value) {
\n       $sets[] = "`".$column."`=\'".$value."\'";
\n  }
\n  $sql .= implode(\', \', $sets);
\n  $dt[\'sql\']=$sql.";";
\n  // run and return the query result
\n  // return mysqli_query($mysqli,$sql);
\n  if(mysqli_query($mysqli,$sql)) {
\n    $dt[\'result\']="Success";
\n  } else {
\n    $dt[\'result\']="Error";    
\n  }  
\n  return json_encode($dt);
\n}','php','0','2','3','1748692586');
INSERT INTO `cp_sphp` VALUES('65','common','Update_v2','function Update_v2($mysqli,$table_name, $form_data, $where_clause=\'\'){   
\n  //global $mysqli;
\n  // check for optional where clause
\n  $whereSQL = \'\';
\n  if(!empty($where_clause)){
\n    // check to see if the \'where\' keyword exists
\n    if(substr(strtoupper(trim($where_clause)), 0, 5) != \'WHERE\'){
\n      // not found, add key word
\n      $whereSQL = " WHERE ".$where_clause;
\n    } else {
\n      $whereSQL = " ".trim($where_clause);
\n    }
\n  }
\n  // start the actual SQL statement
\n  $sql = "UPDATE `".$table_name."` SET ";
\n
\n  // loop and build the column /
\n  $sets = array();
\n  foreach($form_data as $column => $value){
\n    $sets[] = "`".$column."` = \'".$value."\'";
\n  }
\n  $sql .= implode(\', \', $sets);
\n
\n  // append the where statement
\n  $sql .= $whereSQL;
\n       
\n  $dt[\'sql\']=$sql.";";
\n  // run and return the query result
\n  // return mysqli_query($mysqli,$sql);
\n  if(mysqli_query($mysqli,$sql)) {
\n    $dt[\'result\']="Success";
\n  } else {
\n    $dt[\'result\']="Error";    
\n  }  
\n  return json_encode($dt);
\n}','php','0','2','3','1748692612');
INSERT INTO `cp_sphp` VALUES('66','common','Delete_v2','function Delete_v2($db,$table_name, $where_clause=\'\'){   
\n  $whereSQL = \'\';
\n  if(!empty($where_clause)) {
\n    if(substr(strtoupper(trim($where_clause)), 0, 5) != \'WHERE\') {
\n      $whereSQL = " WHERE ".$where_clause;
\n    } else {
\n      $whereSQL = " ".trim($where_clause);
\n    }
\n  }
\n  $sql = "DELETE FROM `".$table_name."` ".$whereSQL;
\n  $dt[\'sql\']=$sql.";";
\n  if(mysqli_query($db,$sql)) {
\n    $dt[\'result\']="Success";
\n  } else {
\n    $dt[\'result\']="Error";    
\n  }  
\n  return json_encode($dt);
\n}','php','0','2','3','1748692682');
INSERT INTO `cp_sphp` VALUES('67','common','image_upload_v2','function image_upload_v2($POST,$FILES,$modul) {
\n  global $db,$ar;
\n  if(isset($POST[\'title\']) && ($POST[\'title\']!=\'\')) {
\n      $title=$POST[\'title\'];
\n  } else {
\n      $title="";
\n  }
\n  if(isset($POST[\'caption\']) && ($POST[\'caption\']!=\'\')) {
\n      $caption=$POST[\'caption\'];
\n  } else {
\n      $caption="";
\n  }
\n  //get last id
\n  $sql2= "select id from `files` order by id desc limit 1";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_fetch_assoc($res2);
\n
\n  if(isset($r2[\'id\']) && ($r2[\'id\']>0)) {
\n      $iid=$r2[\'id\']+1;
\n  } else {
\n      $iid=1;
\n  }
\n
\n  //get last seq
\n  $sql9= "select seq from `files` where item_id=".$POST[\'id\']." and modul=\'".$modul."\' order by seq desc limit 1";
\n  echo $sql9."<br>";
\n  $res9=mysqli_query($db,$sql9);
\n  $r9=mysqli_fetch_assoc($res9);
\n
\n  if(isset($r9[\'seq\']) && ($r9[\'seq\']>0)) {
\n    $seq=$r9[\'seq\']+1;
\n  } else {
\n    $seq=1;
\n  }
\n
\n  $folder_y=$ar[\'img_path\'].$modul."/".date("y");
\n  if (!is_dir($folder_y)) {
\n    mkdir($folder_y, 0777, true);
\n  }
\n  $folder_ym=$folder_y."/".date("m");
\n  if (!is_dir($folder_ym)) {
\n    mkdir($folder_ym, 0777, true);
\n  }
\n
\n  $folder_ymd=$folder_ym."/".date("d");
\n  if (!is_dir($folder_ymd)) {
\n    mkdir($folder_ymd, 0777, true);
\n  }
\n
\n  $folder_ymdh=$folder_ymd."/".date("H");
\n  if (!is_dir($folder_ymdh)) {
\n    mkdir($folder_ymdh, 0777, true);
\n  }
\n
\n  $folder_main=$folder_ymdh."/".$POST[\'id\'];
\n  if (!is_dir($folder_main)) {
\n    mkdir($folder_main, 0777, true);
\n  }
\n  $folder_seq=$folder_main."/".$seq;
\n  if (!is_dir($folder_seq)) {
\n    mkdir($folder_seq, 0777, true);
\n  }
\n  $folder_tmp=$folder_seq."/tmp";
\n  if (!is_dir($folder_tmp)) {
\n    mkdir($folder_tmp, 0777, true);
\n  }
\n
\n  /*$sub_folder=$_POST[\'id\']."/".$seq."/";
\n  switch($_POST[\'file_type\']) {
\n    case "Image";
\n
\n  }*/
\n
\n  $path=date("y")."/".date("m")."/".date("d")."/".date("H")."/".$POST[\'id\'];
\n  $e_ext=explode("/",$FILES[\'file\'][\'type\']);
\n  $file_name=date("YmdHis").".".$e_ext[1];
\n
\n  if($POST[\'file_type\']==\'image\') {
\n    if (move_uploaded_file($FILES[\'file\'][\'tmp_name\'], $folder_tmp.\'/\'. $FILES["file"][\'name\'])) {
\n      //echo "Image Card Front Uploaded";
\n      //$file_name=date("YmdHis").".jpg";
\n
\n
\n      $sub_folder=$folder_seq."/image";
\n      $sub_folder_big=$folder_seq."/image/big";
\n      $sub_folder_medium=$folder_seq."/image/medium";
\n      $sub_folder_small=$folder_seq."/image/small";
\n
\n      if(!is_dir($sub_folder)){ mkdir($sub_folder, 0755); }
\n      if(!is_dir($sub_folder_big)){ mkdir($sub_folder_big, 0755); }
\n      if(!is_dir($sub_folder_medium)){ mkdir($sub_folder_medium, 0755); }
\n      if(!is_dir($sub_folder_small)){ mkdir($sub_folder_small, 0755); }
\n
\n      $source_image=$folder_tmp.\'/\'. $FILES["file"][\'name\'];
\n      $img_big= $sub_folder_big."/".$file_name;
\n      $img_medium= $sub_folder_medium."/".$file_name;
\n      $img_small= $sub_folder_small."/".$file_name;
\n      //$destination=$ar[\'img_path\']."".$img_url;
\n      //resize(640, $destination, $source_image);
\n      image_handler($source_image,$img_big,1080,1080,90,false);
\n      image_handler($source_image,$img_medium,800,800,90,false);
\n      image_handler($source_image,$img_small,150,150,90,false);
\n
\n      echo $sub_folder_small."<br>";
\n
\n      $udata2=array(
\n        \'id\'=>$iid,
\n        \'seq\'=>$seq,
\n        \'modul\'=>$modul,
\n        \'item_id\'=>$POST[\'id\'],
\n        \'type\'=>\'image\',
\n        \'title\'=>gpc($title),
\n        \'caption\'=>gpc($caption),
\n        \'url_original\'=>\'tmp/\'.$FILES["file"][\'name\'],
\n        \'create_at\'=>time(),
\n        \'path\'=>$path,
\n        \'url\'=>$file_name
\n        );
\n      Insert($db,"files",$udata2,1);
\n
\n      $udt2=array(
\n        \'img\'=>$modul."/".$path."/".$seq."/image/small/".$file_name,
\n      );
\n      Update($db,$modul,$udt2,"id=".$POST[\'id\'],1);
\n    }
\n  } else {
\n    if (move_uploaded_file($FILES[\'file\'][\'tmp_name\'], $folder_seq.\'/\'.$file_name)) {
\n      //echo "Image Card Front Uploaded";
\n      $udata2=array(
\n        \'id\'=>$iid,
\n        \'seq\'=>$seq,
\n        \'modul\'=>$modul,
\n        \'item_id\'=>$POST[\'id\'],
\n        \'type\'=>$POST[\'file_type\'],
\n        \'title\'=>gpc($title),
\n        \'caption\'=>gpc($caption),
\n        \'url_original\'=>\'tmp/\'.$FILES["file"][\'name\'],
\n        \'create_at\'=>time(),
\n        \'path\'=>$path,
\n        \'url\'=>$file_name,
\n        );
\n      Insert($db,"files",$udata2,0);
\n    }
\n  }   
\n}','php','0','2','3','1748701148');
INSERT INTO `cp_sphp` VALUES('68','common','image_from_url','function image_from_url($POST,$modul) {
\n  global $db,$ar;
\n  if(isset($POST[\'title\']) && ($POST[\'title\']!=\'\')) {
\n      $title=$POST[\'title\'];
\n  } else {
\n      $title="";
\n  }
\n  if(isset($POST[\'caption\']) && ($POST[\'caption\']!=\'\')) {
\n      $caption=$POST[\'caption\'];
\n  } else {
\n      $caption="";
\n  }
\n  //get last id
\n  $sql2= "select id from `files` order by id desc limit 1";
\n  $res2=mysqli_query($db,$sql2);
\n  $r2=mysqli_fetch_assoc($res2);
\n
\n  if(isset($r2[\'id\']) && ($r2[\'id\']>0)) {
\n      $iid=$r2[\'id\']+1;
\n  } else {
\n      $iid=1;
\n  }
\n  //get last seq
\n  $sql9= "select seq from `files` where item_id=".$POST[\'id\']." and modul=\'".$modul."\' order by seq desc limit 1";
\n  //echo $sql9."<br>";
\n  $res9=mysqli_query($db,$sql9);
\n  $r9=mysqli_fetch_assoc($res9);
\n
\n  if(isset($r9[\'seq\']) && ($r9[\'seq\']>0)) {
\n      $seq=$r9[\'seq\']+1;
\n  } else {
\n      $seq=1;
\n  }
\n
\n  $folder_y=$ar[\'img_path\'].$modul."/".date("y");
\n  if (!is_dir($folder_y)) {
\n      mkdir($folder_y, 0777, true);
\n  }
\n  $folder_ym=$folder_y."/".date("m");
\n  if (!is_dir($folder_ym)) {
\n      mkdir($folder_ym, 0777, true);
\n  }
\n
\n  $folder_ymd=$folder_ym."/".date("d");
\n  if (!is_dir($folder_ymd)) {
\n      mkdir($folder_ymd, 0777, true);
\n  }
\n
\n  $folder_ymdh=$folder_ymd."/".date("H");
\n  if (!is_dir($folder_ymdh)) {
\n      mkdir($folder_ymdh, 0777, true);
\n  }
\n
\n  $folder_main=$folder_ymdh."/".$POST[\'id\'];
\n
\n  if (!is_dir($folder_main)) {
\n      mkdir($folder_main, 0777, true);
\n  }
\n  $folder_seq=$folder_main."/".$seq;
\n  if (!is_dir($folder_seq)) {
\n      mkdir($folder_seq, 0777, true);
\n  }
\n
\n  $folder_tmp=$folder_seq."/tmp";
\n  if (!is_dir($folder_tmp)) {
\n      mkdir($folder_tmp, 0777, true);
\n  }
\n
\n  $path=date("y")."/".date("m")."/".date("d")."/".date("H")."/".$POST[\'id\'];
\n  if($POST[\'url_img_src\']!=\'\') {
\n    $info_img = getimagesize($POST[\'url_img_src\']);
\n    $e_ext=explode("/",$info_img[\'mime\']);
\n    $file_name=date("YmdHis").".".$e_ext[1];
\n    $e_url=explode("/",$POST[\'url_img_src\']);
\n
\n    copyimg($POST[\'url_img_src\'],$folder_tmp."/".$file_name);
\n    //echo "Image Card Front Uploaded";
\n    //$file_name=date("YmdHis").".jpg";
\n
\n
\n    $sub_folder=$folder_seq."/image";
\n    $sub_folder_big=$folder_seq."/image/big";
\n    $sub_folder_medium=$folder_seq."/image/medium";
\n    $sub_folder_small=$folder_seq."/image/small";
\n
\n    if(!is_dir($sub_folder)){ mkdir($sub_folder, 0755); }
\n    if(!is_dir($sub_folder_big)){ mkdir($sub_folder_big, 0755); }
\n    if(!is_dir($sub_folder_medium)){ mkdir($sub_folder_medium, 0755); }
\n    if(!is_dir($sub_folder_small)){ mkdir($sub_folder_small, 0755); }
\n
\n    $source_image=$folder_tmp.\'/\'. $file_name;
\n    $img_big= $sub_folder_big."/".$file_name;
\n    $img_medium= $sub_folder_medium."/".$file_name;
\n    $img_small= $sub_folder_small."/".$file_name;
\n    //$destination=$ar[\'img_path\']."".$img_url;
\n    //resize(640, $destination, $source_image);
\n    image_handler($source_image,$img_big,1080,1080,90,false);
\n    image_handler($source_image,$img_medium,800,800,90,false);
\n    image_handler($source_image,$img_small,150,150,90,false);
\n
\n    //echo $sub_folder_small."<br>";
\n
\n    $udata2=array(
\n      \'id\'=>$iid,
\n      \'seq\'=>$seq,
\n      \'modul\'=>$modul,
\n      \'item_id\'=>$POST[\'id\'],
\n      \'type\'=>\'image\',
\n      \'title\'=>gpc($title),
\n      \'caption\'=>gpc($caption),
\n      \'url_original\'=>\'tmp/\'.$file_name,
\n      \'create_at\'=>time(),
\n      \'path\'=>$path,
\n      \'url\'=>$file_name
\n      );
\n    Insert($db,"files",$udata2,0);
\n    $udt2=array(
\n      \'img\'=>$modul."/".$path."/".$seq."/image/small/".$file_name,
\n    );
\n    Update($db,$modul,$udt2,"id=".$POST[\'id\'],0);
\n  }
\n}','php','0','2','3','1748692878');
INSERT INTO `cp_sphp` VALUES('69','common','xhr','function xhr($url){
\n  global $ar,$db;
\n  include_once $ar[\'path_core\']."dom/request.php";
\n  $xhr = request($url);
\n  return $xhr;
\n}','php','0','2','3','1748693264');
INSERT INTO `cp_sphp` VALUES('70','common','repl_all_space','function repl_all_space($text) {
\n  $ret = preg_replace(\'/s|&nbsp;/\', \'\', $text);
\n  return $ret;
\n}','php','0','2','3','1748693286');
INSERT INTO `cp_sphp` VALUES('71','common','repl_class','function repl_class($text) {
\n  $ret = preg_replace(\'/ class=".*?"/\', \'\', $text);
\n  $ret = preg_replace(\'/ style=".*?"/\', \'\', $ret);
\n  $ret = preg_replace(\'/ dir=".*?"/\', \'\', $ret);
\n  return $ret;
\n}','php','0','2','3','1748693304');
INSERT INTO `cp_sphp` VALUES('74','common','CommaToDot','function CommaToDot($grade) {
\n$grade = str_replace(\',\', \'.\', $grade);
\nreturn $grade;
\n}','php','0','2','3','1748693469');
INSERT INTO `cp_sphp` VALUES('75','common','ang2','function ang2($l) {
\n  $l=number_format($l, 0, \'.\', \',\');
\n  return $l;
\n}','php','0','2','3','1748693487');
INSERT INTO `cp_sphp` VALUES('76','common','ang','function ang($l) {
\n  $l=number_format($l, 0, \',\', \'.\');
\n  return $l;
\n}','php','0','2','3','1748693506');
INSERT INTO `cp_sphp` VALUES('77','common','dec','function dec($l) {
\n  $l=number_format($l, 2, \',\', \'.\');
\n  return $l;
\n}
\nfunction dec1($l) {
\n  $l=number_format($l, 1, \',\', \'.\');
\n  return $l;
\n}
\nfunction dec2($l) {
\n  $l=number_format($l, 2, \',\', \'.\');
\n  return $l;
\n}','php','0','2','3','1748763715');
INSERT INTO `cp_sphp` VALUES('78','common','nodec','function nodec($l) {
\n  $l=number_format($l, 0, \'\', \'\');
\n  return $l;
\n}','php','0','2','3','1748695113');
INSERT INTO `cp_sphp` VALUES('79','common','find_contains','function find_contains($html, $selector, $keyword, $index=-1) {
\n    $ret = array();
\n    foreach ($html->find($selector) as $e) {
\n        if (strpos($e->innertext, $keyword)!==false)
\n            $ret[] = $e;
\n    }
\n
\n    if ($index<0) return $ret;
\n    return (isset($ret[$index])) ? $ret[$index] : null;
\n}','php','0','2','3','1748695153');
INSERT INTO `cp_sphp` VALUES('80','common','find_contains_v1','function find_contains_v1($html, $selector, $index=-1) {
\n    $ret = array();
\n    foreach ($html->find($selector) as $e) {
\n            $ret[] = $e;
\n    }
\n
\n    if ($index<0) return $ret;
\n    return (isset($ret[$index])) ? $ret[$index] : null;
\n}','php','0','2','3','1748695173');
INSERT INTO `cp_sphp` VALUES('81','common','to_char','function to_char($ang) {
\n$sid = preg_replace("/[^A-Za-z]/","",$ang);
\nreturn $sid;
\n}','php','0','2','3','1748695207');
INSERT INTO `cp_sphp` VALUES('82','common','image_view','function image_view($modul,$item_id) {
\n  global $db,$ar;
\n  $sql2 = "SELECT * FROM `files` WHERE modul=\'".$modul."\' and item_id=\'".$item_id."\' and `type`=\'image\' ";
\n  $run2 = mysqli_query($db, $sql2);
\n  $ret= "<hr><h3>Images</h3><div class=\'row mb-20 pb-20\'>";
\n  while($r2 = mysqli_fetch_assoc($run2)) {
\n    $img_small=$modul."/".$r2[\'path\']."/".$r2[\'seq\']."/image/small/".$r2[\'url\'];
\n    $img_big=$modul."/".$r2[\'path\']."/".$r2[\'seq\']."/image/big/".$r2[\'url\'];
\n    $ret .= \'
\n    <div id="row-\'.$r2[\'id\'].\'" class="col-sm-3 col-lg-2 col-xs-6">
\n      <div class="card">
\n    \';
\n    $ret .= \'<img src="\'.$ar[\'url_img\'].\'\'.$img_small.\'" alt="">\';
\n    $ret .= \'\';
\n    $ret .= \'
\n      </div>
\n      <button onClick="imgdel(\'.$r2[\'id\'].\');" class="btn btn-danger btn-xs">Delete</button>
\n      
\n    </div>\';
\n  }
\n  $ret .= "</div>";
\n  return $ret;
\n}','php','0','2','3','1748697036');
INSERT INTO `cp_sphp` VALUES('83','api','image_delete_byid','function image_delete_byid($js){
\n  global $ar,$db;
\n  $dt=array();  
\n  $sql="SELECT * from `files` where id=".$js[\'id\'];
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res)==1) {
\n    $r=mysqli_fetch_assoc($res);
\n    $dt[\'success\']=true;
\n    $this_path=$ar[\'img_path\']."".$r[\'modul\']."/".$r[\'path\'];
\n    $dt[\'r\']=$r;
\n    $dt[\'path\']=$this_path;
\n    if(is_dir($this_path)) {
\n      $dt[\'is_dir\']="exist";
\n      emptyDir($this_path);
\n      Delete($db,"files","id=".$js[\'id\'],0);
\n    }
\n  } else {
\n    $dt[\'error\']=true;
\n    $dt[\'message\']="data not found";
\n  }
\n  return $dt;
\n}','php','0','2','1','1748739802');
INSERT INTO `cp_sphp` VALUES('84','api','image_delete_byitemid','function image_delete_byitemid($js){
\n  global $ar,$db;
\n  $dt=array();
\n  
\n  $sql="SELECT * from `files` where `modul`=\'".$js[\'modul\']."\' and `item_id`=".$js[\'id\'];
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res)==1) {
\n    $r=mysqli_fetch_assoc($res);
\n    $dt[\'success\']=true;
\n    $this_path=$ar[\'img_path\']."".$r[\'modul\']."/".$r[\'path\'];
\n    $dt[\'r\']=$r;
\n    $dt[\'path\']=$this_path;
\n    if(is_dir($this_path)) {
\n      $dt[\'is_dir\']="exist";
\n      emptyDir($this_path);
\n      Delete($db,"files","id=".$r[\'id\'],0);
\n    }
\n  } else {
\n    $dt[\'error\']=true;
\n    $dt[\'message\']="data not found";
\n  }
\n  return $dt;
\n}','php','0','2','1','1748741426');
INSERT INTO `cp_sphp` VALUES('85','api','transaction_add_v2','function transaction_add_v2($js){
\n  global $ar,$db;
\n  $dt=array();
\n  //$dt[\'param\']=$js;
\n
\n  $sql="SELECT * from `transaction` where `action_id`=\'".$js[\'action_id\']."\'";
\n  //$dt[\'sql\'][1]=$sql8;
\n  $res=mysqli_query($db,$sql);
\n  if(mysqli_num_rows($res)==0){
\n    //belum ada data, insert
\n    $sql6 = "SELECT * from `action` where id=".$js[\'action_id\'];
\n    $res6 = mysqli_query($db, $sql6);
\n    //echo $sql;
\n    $r6 = mysqli_fetch_assoc($res6); 
\n
\n
\n    $sql3 = "select id,id2,id-id2 as k from `transaction` where id-id2>0 order by id2 limit 1";
\n    $res3 = mysqli_query($db, $sql3);
\n    if(mysqli_num_rows($res3)>0) {
\n      $rw3 = mysqli_fetch_assoc($res3);
\n      $id1=$rw3[\'id2\'];
\n    } else {
\n      $sql4 = "select * from `transaction` order by id desc limit 1";
\n      $res4 = mysqli_query($db, $sql4);
\n      $rw4 = mysqli_fetch_assoc($res4);
\n      if(isset($rw4[\'id\']) && $rw4[\'id\']>0) {
\n        $id1=$rw4[\'id\']+1;
\n      } else {
\n        $id1=1;
\n      }
\n    }
\n
\n    $idt=array(
\n      \'id\'=>$id1,
\n      \'action_at\'=>$r6[\'action_at\'],
\n      \'action_id\'=>$js[\'action_id\'],
\n      \'year\'=>date("Y",$r6[\'action_at\']),
\n      \'month\'=>date("Ym",$r6[\'action_at\']),
\n      \'seq\'=>$r6[\'seq\'],
\n      \'cat\'=>$r6[\'cat\'],
\n      \'inout\'=>$r6[\'inout\'],
\n      \'debit\'=>$js[\'debit\'],
\n      \'credit\'=>$js[\'credit\'],
\n      \'amount\'=>to_numeric($r6[\'amount\']),
\n      \'st\'=>1,
\n      \'update_at\'=>time(),
\n    );
\n    Insert($db,"transaction",$idt,0);
\n    tool_id2(\'transaction\');
\n
\n    $dt[\'success\']=true;
\n    $dt[\'message\']="Add transaction successfull"; 
\n
\n    $udt=array(
\n      \'st_trx\'=>1,
\n    );
\n    Update($db,"action",$udt,"id=".$js[\'action_id\'],0);  
\n    journal_add($id1); 
\n
\n    $dt[\'data\'][\'transaction\'][\'byid\']=transaction_byid();
\n    $dt[\'data\'][\'transaction\'][\'byseq\']=transaction_byseq();
\n    $dt[\'data\'][\'action\'][\'byid\']=action_byid();
\n    $dt[\'data\'][\'action\'][\'byseq\']=action_byseq();
\n
\n  } else {
\n    $r1=mysqli_fetch_assoc($res);
\n    //sudah ada data, update
\n    $sql6 = "SELECT * from `action` where id=".$js[\'action_id\'];
\n    $res6 = mysqli_query($db, $sql6);
\n    //echo $sql;
\n    $r6 = mysqli_fetch_assoc($res6); 
\n
\n    $udt=array(
\n      \'st_trx\'=>1,
\n    );
\n    Update($db,"action",$udt,"id=".$js[\'action_id\'],0);  
\n
\n    $udt2=array(
\n      \'debit\'=>$js[\'debit\'],
\n      \'credit\'=>$js[\'credit\'],
\n      \'amount\'=>$r6[\'amount\'],
\n      \'update_at\'=>time(),
\n    );
\n    Update($db,"transaction",$udt2,"id=".$r1[\'id\'],0);
\n    tool_id2("journal"); 
\n    $dt[\'journal\']=journal_add($r1[\'id\']);     
\n    
\n    $dt[\'data\'][\'transaction\'][\'byid\']=transaction_byid();
\n    $dt[\'data\'][\'transaction\'][\'byseq\']=transaction_byseq();
\n    $dt[\'data\'][\'action\'][\'byid\']=action_byid();
\n    $dt[\'data\'][\'action\'][\'byseq\']=action_byseq();
\n    $dt[\'success\']=true;
\n    $dt[\'message\']="This transaction update successfully";        
\n  }
\n
\n  JournalCount_v2(date("Y"));
\nlist_equ_3();
\n
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748593709');
INSERT INTO `cp_sphp` VALUES('86','api','tab_add_menu','function tab_add_menu(){
\n  global $ar,$db;
\n  $dt=array();
\n  for($a=1;$a<4;$a++) {
\n   $dt[\'name\'][$a]=$ar[\'menu\'][$a];    
\n   $sql="SELECT `code`,`title`,`inout` from `trx_title` where del=0 and `menu`=\'add\' and position=".$a." order by title";
\n   $res=mysqli_query($db,$sql);
\n   $b=0;
\n   while($r1=mysqli_fetch_assoc($res)) {
\n    if($r1[\'inout\']==1) {
\n      $url=\'action_in_add/\'.$r1[\'code\'];
\n    } else {
\n      $url=\'action_out_add/\'.$r1[\'code\'];
\n    }
\n    $dt[\'name\'][$a][\'items\'][$b]=$r1;    
\n    $dt[\'name\'][$a][\'items\'][$b][\'url\']=$url;    
\n    $b++;
\n   }
\n  }
\n  
\n   $sql2="SELECT `code`,`title`,`inout`,`position`,`cat`,`bank`,`debit`,`credit` from `trx_title` where del=0 and `menu`=\'add\' order by `code`";
\n   $res2=mysqli_query($db,$sql2);
\n   while($r2=mysqli_fetch_assoc($res2)) {
\n    if($r2[\'inout\']==1) {
\n      $url=\'action_in_add/\'.$r2[\'code\'];
\n    } else {
\n      $url=\'action_cost_add/\'.$r2[\'code\'];
\n    }
\n
\n    $dt[\'data\'][$r2[\'code\']]=$r2;    
\n    $dt[\'data\'][$r2[\'code\']][\'url\']=$url;    
\n
\n    if($r2[\'credit\']!=\'\') {
\n      $n_credit=$ar[\'acc_name\'][$r2[\'credit\']];
\n      $dt[\'data\'][$r2[\'code\']][\'n_credit\']=$n_credit;    
\n    } 
\n    if($r2[\'debit\']!=\'\') {
\n      $n_debit=$ar[\'acc_name\'][$r2[\'debit\']];
\n      $dt[\'data\'][$r2[\'code\']][\'n_debit\']=$n_debit;    
\n    } 
\n
\n    
\n    $sql3="SELECT id,debit,credit from `trx_title` where del=0 and parent=".$r2[\'code\'];
\n    $c=0;
\n    $res3=mysqli_query($db,$sql3);
\n    while($r3=mysqli_fetch_assoc($res3)) {
\n      $dt[\'data\'][$r2[\'code\']][\'items\'][$c]=$r3;    
\n      $dt[\'data\'][$r2[\'code\']][\'items\'][$c][\'n_debit\']=$ar[\'acc_name\'][$r3[\'debit\']];    
\n      $dt[\'data\'][$r2[\'code\']][\'items\'][$c][\'n_credit\']=$ar[\'acc_name\'][$r3[\'credit\']];    
\n      $c++;
\n    }
\n    
\n   }
\n  
\n  return $dt;
\n  $db->close();
\n}','php','0','2','1','1748990050');


CREATE TABLE `files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT 0,
  `seq` int(11) NOT NULL DEFAULT 0,
  `modul` varchar(20) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  `title` varchar(100) DEFAULT NULL,
  `caption` varchar(200) DEFAULT NULL,
  `url` varchar(200) DEFAULT NULL,
  `url_src` varchar(200) DEFAULT NULL,
  `url_original` varchar(200) DEFAULT NULL,
  `path` varchar(200) DEFAULT NULL,
  `create_at` int(11) NOT NULL DEFAULT 0,
  `width` int(11) NOT NULL DEFAULT 0,
  `height` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `id_item_id_modul` (`id`,`item_id`,`modul`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `files` VALUES('3','1','1','en_ser','image','','','20250521140943.jpeg','','tmp/20250521140943.jpeg','25/05/21/14/1','1747811385','0','0');
INSERT INTO `files` VALUES('4','1','3','en_user','image','','','20250521141116.jpeg','','tmp/20250521141116.jpeg','25/05/21/14/1','1747811478','0','0');
INSERT INTO `files` VALUES('5','1','1','product','image','','','20250523094504.jpeg','','tmp/20250523094504.jpeg','25/05/23/09/1','1747968305','0','0');
INSERT INTO `files` VALUES('6','6','1','product','image','','','20250523102749.jpeg','','tmp/20250523102749.jpeg','25/05/23/10/6','1747970869','0','0');
INSERT INTO `files` VALUES('7','5','1','product','image','','','20250523102926.jpeg','','tmp/20250523102926.jpeg','25/05/23/10/5','1747970966','0','0');
INSERT INTO `files` VALUES('8','2','1','product','image','','','20250523103037.jpeg','','tmp/20250523103037.jpeg','25/05/23/10/2','1747971038','0','0');
INSERT INTO `files` VALUES('9','1','2','product','image','','','20250523103418.jpeg','','tmp/20250523103418.jpeg','25/05/23/10/1','1747971258','0','0');
INSERT INTO `files` VALUES('12','2','1','users','image','','','20250524063119.jpeg','','tmp/20250524063119.jpeg','25/05/24/06/2','1748043079','0','0');
INSERT INTO `files` VALUES('14','1','4','users','image','','','20250524135233.jpeg','','tmp/20250524135233.jpeg','25/05/24/13/1','1748069553','0','0');
INSERT INTO `files` VALUES('23','9','1','company','image','ert 234','','20250524194440.jpeg','','tmp/20250524194440.jpeg','25/05/24/19/9','1748090680','0','0');
INSERT INTO `files` VALUES('24','1','1','company','image','pt alfa global niaga','','20250524194635.jpeg','','tmp/20250524194635.jpeg','25/05/24/19/1','1748090796','0','0');
INSERT INTO `files` VALUES('25','7','1','company','image','pt samsung indonesia','','20250524194935.png','','tmp/20250524194935.png','25/05/24/19/7','1748090976','0','0');
INSERT INTO `files` VALUES('26','8','1','company','image','pt sharp','','20250524195137.jpeg','','tmp/20250524195137.jpeg','25/05/24/19/8','1748091098','0','0');
INSERT INTO `files` VALUES('27','5','1','company','image','toko damai sejahtera','','20250524195312.jpeg','','tmp/20250524195312.jpeg','25/05/24/19/5','1748091192','0','0');
INSERT INTO `files` VALUES('28','8','2','company','image','pt sharp','','20250524195748.jpeg','','tmp/20250524195748.jpeg','25/05/24/19/8','1748091468','0','0');
INSERT INTO `files` VALUES('34','4','1','product','image','','','20250529081912.jpeg','','tmp/20250529081912.jpeg','25/05/29/08/4','1748481552','0','0');
INSERT INTO `files` VALUES('35','3','1','product','image','','','20250529082009.jpeg','','tmp/20250529082009.jpeg','25/05/29/08/3','1748481609','0','0');
INSERT INTO `files` VALUES('36','4','2','product','image','','','20250529112029.jpeg','','temp/20250529112029.jpeg','25/05/29/11/4','1748492430','0','0');
INSERT INTO `files` VALUES('37','2','2','product','image','','','20250529112842.jpeg','','temp/20250529112842.jpeg','25/05/29/11/2','1748492922','0','0');
INSERT INTO `files` VALUES('38','6','2','product','image','','','20250530081407.jpeg','','temp/20250530081407.jpeg','25/05/30/08/6','1748567647','0','0');
INSERT INTO `files` VALUES('41','1','5','users','image','','','20250531212137.jpeg','','temp/20250531212137.jpeg','25/05/31/21/1','1748701297','0','0');
INSERT INTO `files` VALUES('42','6','1','action','image','','','20250601064631.jpeg','','temp/20250601064631.jpeg','25/06/01/06/6','1748735191','0','0');


CREATE TABLE `network` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(60) DEFAULT NULL,
  `initial` varchar(60) DEFAULT NULL,
  `email` varchar(90) DEFAULT NULL,
  `password` varchar(200) DEFAULT NULL,
  `modul` text DEFAULT NULL,
  `reff` varchar(200) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `wa` varchar(30) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `role` varchar(30) DEFAULT NULL,
  `web` varchar(90) DEFAULT NULL,
  `fb` varchar(90) DEFAULT NULL,
  `ig` varchar(90) DEFAULT NULL,
  `linkedin` varchar(90) DEFAULT NULL,
  `tw` varchar(90) DEFAULT NULL,
  `nik` varchar(90) DEFAULT NULL,
  `paspor` varchar(90) DEFAULT NULL,
  `paspor_start` int(11) DEFAULT NULL,
  `paspor_end` int(11) DEFAULT NULL,
  `paspor_country` varchar(90) DEFAULT NULL,
  `url_paspor` varchar(200) DEFAULT NULL,
  `remark` varchar(200) DEFAULT NULL,
  `parent_id` int(11) NOT NULL,
  `create_at` int(11) NOT NULL,
  `update_at` int(11) NOT NULL,
  `last_login` int(11) NOT NULL,
  `st` tinyint(4) NOT NULL DEFAULT 1,
  `fav` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `wa` (`wa`),
  KEY `id_name_email` (`id`,`name`,`email`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `network` VALUES('1','NAVIS MURBIYANTO','NAVIS','navismur@gmail.com','96457fa50d3a5aeb8f294e6b6fcfb5d1','filephp,t6_lang,t6_html,t6_css,t6_cssf,t6_css_child,t6_h_tab,t6_h_page,t6_js,t6_jsf,network','code_chart,code_series,code_summary','','6281212677847','6281212677847','1','','','','','','3275082609700013','','0','0','Indonesia','','','0','0','1759989640','1664770048','1','0');
INSERT INTO `network` VALUES('2','U2','u2','u2@mail.com','96457fa50d3a5aeb8f294e6b6fcfb5d1','job_kebid,js_pergi,beauty,filephp,cp_sphp,t1_css,t1_h_page,t1_h_tab,t1_html,t1_js,t1_jsf','','','','','1','','','','','','','','0','0','','','','0','0','1757385676','0','1','0');
INSERT INTO `network` VALUES('4','U4','u4','u4@mail.com','96457fa50d3a5aeb8f294e6b6fcfb5d1','filephp,network','','','35454564563','','1','','','','','','','','0','0','','','','0','0','1757385661','0','1','0');


CREATE TABLE `t6_css` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `modul` varchar(20) DEFAULT NULL,
  `name` varchar(99) DEFAULT NULL,
  `is` varchar(20) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `path` varchar(150) DEFAULT NULL,
  `update_at` int(11) NOT NULL DEFAULT 0,
  `create_at` int(11) NOT NULL DEFAULT 0,
  `parent` int(11) NOT NULL DEFAULT 0,
  `id2` int(11) NOT NULL DEFAULT 0,
  `del` tinyint(4) NOT NULL DEFAULT 0 COMMENT '1=delete',
  `level` tinyint(4) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parent_id_slug` (`parent`,`name`),
  KEY `id_folder_slug` (`id`,`is`,`name`)
) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `t6_css` VALUES('3','m0','m0','css',':root{--title-color:#1e2b47;--text-color:#828d9c;--background-color:#fff;--light-gray:#ecf1f5;--block-shadow:0px 2px 10px 0px #555f6921;--f7-page-toolbar-bottom-offset:50px;--f7-navbar-height:50px;--f7-list-item-border-color:rgba(0, 0, 0, 0.12);--f7-list-outline-border-color:rgba(0, 0, 0, 0.12);--f7-list-chevron-icon-color:#8896b8;--swiper-pagination-color:var(--title-color)}
\n:root .dark{--title-color:#fff;--text-color:#9aa9b2;--background-color:#001119;--light-gray:#0e232d}
\np,ul li{color:var(--text-color)}
\n.navbar-bg,.page-theme-transition{transition:background-color .4s}
\n.color-light-gray,:root{--f7-text-color:var(--title-color)}
\n.arrow-back,.link-chevron::before{text-rendering:optimizeLegibility}
\n.card,.post-horizontal,.stock-item{box-shadow:var(--block-shadow)}
\nhtml[dir=rtl] .card-big-footer .button i,html[dir=rtl] .onboarding-next-button i{transform:rotate(180deg);margin-left:0;margin-right:5px}
\n
\nbody{font-family:Rubik,-apple-system,SF Pro Text,SF UI Text,system-ui,Helvetica Neue,Helvetica,Arial,sans-serif}
\n.dark .stepper.color-light-gray .stepper-button-minus::after,.dark .stepper.color-light-gray .stepper-button-plus::after,.dark .stepper.color-light-gray .stepper-button-plus::before,.dark .ticket-fill::after,.dark .ticket-fill::before,.page{background-color:var(--background-color)}
\n.page-content{padding-left:15px;padding-right:15px;padding-bottom:calc(var(--f7-page-toolbar-bottom-offset,0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom,0px) + 20px)}
\n.full-width{margin-left:-15px;margin-right:-15px;width:calc(100% + 30px)!important}
\np{line-height:1.8em;font-size:15px}
\n.card .card-category.bg-color-white,.icon-tooltip,.navbar .title,.navbar a i,h1,h2,h3,html[dir=rtl] .segmented.segmented-strong .button.tab-link-active{color:var(--title-color)}
\nh1,h2,h3{font-weight:600}
\nh1{font-size:28px;margin-bottom:20px}
\nul{padding-left:20px}
\nul li{padding:4px 0}
\ninput[type=date],input[type=datetime-local],input[type=email],input[type=password],input[type=text],textarea{background-color:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;border-radius:10px;color:var(--title-color);font-weight:500;margin-bottom:20px;font-size:15px}
\n::-webkit-input-placeholder,::placeholder{color:#93a0b1;font-weight:400}
\ninput[type=date],input[type=datetime-local]{padding-right:10px;line-height:42px}
\n.dark .card-author-footer,.dark .card-big-footer,.dark .panel,.dark .rating-bg,.dark .rating-block-total,.ios .dark .message-received .message-bubble,.searchbar input[type=search]{background-color:var(--light-gray)}
\nlabel:not(.checkbox,.item-checkbox,.radio,.item-radio,.toggle){font-weight:500;margin-bottom:7px;font-size:15px;display:block}
\nform .button{margin:20px 0}
\ntextarea{padding-top:15px;padding-bottom:15px;min-height:100px}
\niframe{width:calc(100%);height:230px;border-radius:15px;border:none}
\na{transition:opacity .1s}
\na:active{opacity:.95}
\nimg.card-big-footer-image{height:auto}
\n.input-outline{border:2px solid #e0e3e6!important;background:0 0!important}
\n.custom-tabs .tab{padding-left:10px;padding-right:10px}
\n.stick-top{margin-top:-50px}
\n.link-chevron::before{font-family:framework7-core-icons;font-style:normal;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga";text-align:center;display:block;font-size:20px;position:absolute;top:50%;width:8px;height:14px;margin-top:-7px;font-size:var(--f7-list-chevron-icon-font-size);line-height:14px;pointer-events:none;right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));content:var(--f7-list-chevron-icon-right)}
\n.forgot-password-text{margin:10px 0 30px}
\n.router-transition-f7-dive-backward,.router-transition-f7-dive-forward{background:#fff;background:var(--background-color)}','css/m0.css','1759989993','1759932045','0','0','0','1');

INSERT INTO `t6_css` VALUES('25','app','font_weight','css','.fw-100,.btn-f100 { font-weight: 100 !important; }
\n.fw-200,.btn-f200 { font-weight: 200 !important; }
\n.fw-300,.btn-f300 { font-weight: 300 !important; }
\n.fw-400,.btn-f400 { font-weight: 400 !important; }
\n.fw-500,.btn-f500 { font-weight: 500 !important; }
\n.fw-600,.btn-f600 { font-weight: 600 !important; }
\n.fw-700,.btn-f700 { font-weight: 700 !important; }
\n.fw-800,.btn-f800 { font-weight: 800 !important; }
\n.fw-900,.btn-f900 { font-weight: 900 !important; }','','1759907763','1759907342','1','25','0','2');
INSERT INTO `t6_css` VALUES('26','ori','html','css','html[dir=rtl] .accordion-opposite .accordion-item>.item-content:before {right:8px;}
\nhtml[dir=rtl] input[type=email] {padding:0 15px 0 0;}
\nhtml[dir=rtl] input[type=password] {padding:0 15px 0 0;}
\nhtml[dir=rtl] input[type=text] {padding:0 15px 0 0;}
\nhtml[dir=rtl] textarea {padding:15px 15px 0;}','','1759926310','1759908052','2','26','0','2');
INSERT INTO `t6_css` VALUES('27','ori','album','css','.album-author {lineHeight:16px;overflow:hidden;whiteSpace:nowrap;textOverflow:ellipsis;fontSize:14px;marginTop:4px;color:var(--text-color);}
\n.album-details {width:calc(100% - 70px);}
\n.album-grid a {display:flex;alignItems:center;justifyContent:flex-start;borderBottom:none !important;marginBottom:20px;}
\n.album-grid a:last-child {marginBottom:0;}
\n.album-grid a:nth-child(2n) .album-details {width:calc(100% - 63px);}
\n.album-grid a:nth-last-child(2) {marginBottom:0;}
\n.album-grid img {marginRight:10px;}
\n.album-grid img {width:55px;borderRadius:6px;}
\n.album-grid {marginTop:15px;}
\n.album-header .album-artist {fontWeight:400;fontSize:16px;color:var(--text-color);marginBottom:20px;}
\n.album-header .album-cover {width:80%;borderRadius:10px;}
\n.album-header .album-title {fontWeight:600;fontSize:26px;marginTop:20px;}
\n.album-header {display:flex;flexDirection:column;alignItems:center;justifyContent:center;}
\n.album-stat {display:flex;flexDirection:column;borderRight:1px solid #e2e3e5;textAlign:center;}
\n.album-stat-number {fontWeight:600;fontSize:20px;}
\n.album-stat-title {color:var(--text-color);fontSize:15px;}
\n.album-stat:last-child {borderRight:none;}
\n.album-stats {marginBottom:40px;}
\n.album-title {color:var(--title-color);fontWeight:500;}
\n.album-title {fontSize:15px;overflow:hidden;whiteSpace:nowrap;textOverflow:ellipsis;}
\n.album-tracklist .item-inner .item-title {color:var(--title-color);fontWeight:500;}
\n.card.card-album .card-image img {aspectRatio:1/1;objectFit:cover;}
\n.card.card-album {borderRadius:8px;}
\n.dark .album-stat {borderRight:1px solid #2d3d4a;}
\n.dark .album-stat:last-child {borderRight:none;}
\n.grid.grid-gap.album-stats {gap:0;}
\nhtml[dir=rtl] .album-grid img {marginRight:0;marginLeft:10px;}
\nhtml[dir=rtl] .album-stat:first-child {borderRight:none;}
\nhtml[dir=rtl] .album-stat:last-child {borderRight:1px solid #e2e3e5;}','','1759923700','1759908092','2','27','0','2');
INSERT INTO `t6_css` VALUES('28','ori','ab','css','.accordion-item-content p {fontSize:15px;margin:0 0 5px;}
\n.accordion-item-content {padding:0 20px;}
\n.actor-firstname {textAlign:center;lineHeight:1.4em;color:var(--title-color);fontWeight:500;fontSize:13px;}
\n.actor-lastname {textAlign:center;lineHeight:1.4em;color:var(--title-color);fontWeight:500;fontSize:13px;}
\n.arrow-back {fontWeight:400;fontSize:26px;paddingRight:10px;width:25px;WebkitFontSmoothing:subpixel-antialiased;}
\n.arrow-back {textRendering:optimizeLegibility;}
\n.centered-text {textAlign:center;}
\n.custom-tabs .tab {paddingLeft:10px;paddingRight:10px;}
\n
\n.forgot-password-text {margin:10px 0 30px;}
\n.full-width {marginLeft:-15px;marginRight:-15px;width:calc(100% + 30px) !important;}
\n.input-outline {border:2px solid #e0e3e6 !important;background:0 0 !important;}
\n.ios .dark .toolbar-bottom-ios:before {backgroundColor:rgba(255,255,255,.15);}
\n.ios .toolbar-bottom-ios:before {backgroundColor:#dedede;transition:background-color .4s,transform .4s;}
\n.light-gray-title {color:#99a0a7;fontWeight:500;fontSize:13px;textTransform:uppercase;marginTop:30px;marginBottom:10px;}
\n.login-separator {fontSize:14px;}
\n.md .dark .toolbar-bottom-md:before {backgroundColor:rgba(255,255,255,.15);}
\n.md .toolbar-bottom-md:before {backgroundColor:#dedede;transition:background-color .4s,transform .4s;}
\n.popover-inner .block {margin:20px 0;padding:0 20px;}
\n.preloader-big {height:40px;width:40px;}
\n.preloader-demo>div {textAlign:center;}
\n.progressbar {margin:20px 0;height:8px;backgroundColor:var(--light-gray);}
\n.progressbar-infinite {margin:20px 0;height:8px;backgroundColor:var(--light-gray);}
\n.router-transition-f7-dive-backward {background:Array;}
\n.router-transition-f7-dive-forward {background:Array;}
\n.single-cover-image {borderRadius:8px;}
\n.stick-top {marginTop:-50px;}','','1759927010','1759908290','2','28','0','2');
INSERT INTO `t6_css` VALUES('29','ori','media770','css','@media (max-height:770px){.swiper-onboarding swiper-slide img{width:55%}
\n.swiper-onboarding swiper-slide .onboarding-title{font-size:25px}
\n.swiper-onboarding swiper-slide .onboarding-subtitle{font-size:15px}
\n}','','1759908345','1759908332','2','29','0','2');
INSERT INTO `t6_css` VALUES('30','ori','media885','css','@media (max-height:885px){.swiper-onboarding swiper-slide img{width:70%}
\n.swiper-onboarding swiper-slide .onboarding-title{font-size:30px}
\n}','','1759908367','1759908357','2','30','0','2');
INSERT INTO `t6_css` VALUES('31','ori','dark','css','.dark .light-gray-title {color:#8191a6;}
\n.dark .toolbar-bottom:before {backgroundColor:rgba(255,255,255,.15);}','','1759926422','1759908399','2','31','0','2');
INSERT INTO `t6_css` VALUES('32','ori','panel','css','html[dir=rtl] .panel-links a i {marginLeft:15px;marginRight:0;}
\n.dark .panel {backgroundColor:var(--light-gray);}
\n.panel-backdrop {backgroundColor:rgba(0,0,0,.3);}
\n.panel-links a i {marginRight:15px;fontSize:23px;}
\n.panel-links a {justifyContent:flex-start;}
\n.panel-logout i {fontSize:25px;marginLeft:5px;}
\n.panel-logout {position:absolute;bottom:20px;width:100%;textAlign:center;fontWeight:500;}','','1759920424','1759908429','2','32','0','2');
INSERT INTO `t6_css` VALUES('33','ori','notification','css','.dark .notification {background:var(--light-gray);}
\n.notification-image {borderRadius:50%;}
\n.notification-list .item-date {color:#99a0a7;fontSize:14px;fontWeight:400;}
\n.notification-list .item-date-container {display:flex;justifyContent:space-between;marginBottom:3px;}
\n.notification-list .item-description i {fontSize:20px;marginRight:4px;lineHeight:0.9;}
\n.notification-list .item-description {color:var(--title-color);fontWeight:500;}
\n.notification-list .item-description {fontSize:14px;whiteSpace:normal;}
\n.notification-list .item-time {color:#99a0a7;fontSize:14px;fontWeight:400;}
\n.notification-list.detailed-list .item-media img {width:50px;}
\n.notification-list.list .item-inner {paddingTop:10px;paddingBottom:10px;}','','1759920547','1759908451','2','33','0','2');
INSERT INTO `t6_css` VALUES('34','ori','card','css','.card .card-author img {width:20px;height:20px;borderRadius:50%;marginRight:8px;}
\n.card .card-author span {opacity:0.9;}
\n.card .card-author {display:flex;alignItems:center;}
\n.card .card-category {display:inline-block;fontSize:13px;fontWeight:500;padding:2px 8px;marginBottom:10px;borderRadius:5px;}
\n.card .card-category.bg-color-white {color:var(--title-color);}
\n.card {background:0 0;borderRadius:18px;overflow:hidden;margin:20px 0;display:block;}
\n.card {boxShadow:var(--block-shadow);}
\n.card-author-footer .author-image {width:35px;borderRadius:50%;height:auto;}
\n.card-author-footer .card-author {color:var(--title-color);fontWeight:500;fontSize:15px;}
\n.card-author-footer .card-date {color:var(--text-color);}
\n.card-author-footer .card-footer-middle {marginLeft:12px;}
\n.card-author-footer .card-footer-right i {fontSize:22px;}
\n.card-author-footer .card-footer-right {fontSize:13px;fontWeight:500;color:var(--text-color);marginLeft:auto;}
\n.card-author-footer {display:flex;alignItems:center;justifyContent:flex-start;padding:12px 16px;}
\n.card-big-footer .button i {marginLeft:5px;fontWeight:600;}
\n.card-big-footer .button {marginBottom:0;marginTop:15px;}
\n.card-big-footer h2 {margin:0 0 -5px;fontSize:20px;lineHeight:1.5;}
\n.card-big-footer {display:block;padding:20px;}
\n.card-footer:before {display:none;}
\n.card-image {borderRadius:0;display:block;minHeight:auto;padding:0;lineHeight:0;position:relative;}
\n.card-image-footer h2 {margin:0;fontSize:19px;lineHeight:24px;fontWeight:500;color:#fff;}
\n.card-image-footer {position:absolute;bottom:0;padding:60px 18px 15px;backgroundImage:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgb(24 24 24 / 95%) 100%);color:#fff;width:100%;boxSizing:border-box;lineHeight:var(--f7-line-height);}
\n.card-image:has(.card-image-footer) img {objectFit:cover;aspectRatio:16/10;}
\n.card-image:has(~ .card-author-footer) img {aspectRatio:16/9;}
\n.dark .card .card-category.bg-color-white {color:var(--background-color);}
\n.dark .card {boxShadow:none;}
\n.dark .card-author-footer {backgroundColor:var(--light-gray);}
\n.dark .card-big-footer {backgroundColor:var(--light-gray);}
\n.dark .card-image-footer {backgroundImage:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgb(24 24 24 / 80%) 100%);}
\n.section-title+.card {marginTop:10px;}
\nhtml[dir=rtl] .card .card-author img {marginRight:0;marginLeft:8px;}
\nhtml[dir=rtl] .card-author-footer .card-footer-middle {marginRight:12px;}
\nhtml[dir=rtl] .card-author-footer .card-footer-right {marginRight:auto;marginLeft:inherit;}
\nhtml[dir=rtl] .card-big-footer .button i {transform:rotate(180deg);marginLeft:0;marginRight:5px;}
\nimg.card-big-footer-image {height:auto;}','','1759926949','1759908472','2','34','0','2');
INSERT INTO `t6_css` VALUES('35','ori','swiper','css','swiper-container {marginTop:10px;marginBottom:-20px;paddingBottom:20px;}
\nswiper-slide .card {margin:0;}
\nswiper-slide .card.card-with-footer {marginBottom:10px;}
\n.swiper-onboarding swiper-slide .onboarding-subtitle {fontSize:15px;padding:0 30px;textAlign:center;color:var(--text-color);margin:10px 0 30px;}
\n.swiper-onboarding swiper-slide .onboarding-title {fontSize:40px;fontWeight:600;color:var(--title-color);padding:0 30px;textAlign:center;lineHeight:1.2;margin:20px 0 10px;}
\n.swiper-onboarding swiper-slide img {width:75%;marginTop:20px;}
\n.swiper-onboarding swiper-slide {display:flex;alignItems:center;justifyContent:center;flexDirection:column;}','','1759919336','1759908492','2','35','0','2');
INSERT INTO `t6_css` VALUES('36','ori','search','css','.dark .search-grid a {borderTop:1px solid #2d3d4a;}
\n.dark .search-grid a:first-child {borderTop:none;}
\n.dark .search-grid a:nth-child(2) {borderTop:none;}
\n.search-grid a i {fontSize:20px;marginRight:6px;}
\n.search-grid a {display:-webkit-box;WebkitBoxOrient:vertical;textOverflow:ellipsis;}
\n.search-grid a {fontSize:15px;borderTop:1px solid #e2e3e5;textAlign:left;marginTop:12px;paddingTop:12px;overflow:hidden;WebkitLineClamp:1;}
\n.search-grid a:first-child {borderTop:none;marginTop:5px;paddingTop:0;}
\n.search-grid a:nth-child(2) {borderTop:none;marginTop:5px;paddingTop:0;}
\n.search-grid a:nth-child(2n) {marginLeft:10px;}
\n.search-grid a:nth-child(odd) {marginRight:10px;}
\n.search-grid {marginBottom:30px;}
\n.searchbar input[type=search] {backgroundColor:var(--light-gray);}
\n.searchbar-backdrop.searchbar-backdrop-in {opacity:0;}
\n.searchbar-help-center.searchbar-inline {marginTop:20px;}
\n.searchbar-inner {padding:0 15px;}
\n.searchbar-search-page.searchbar-inline {marginTop:10px;marginBottom:20px;}
\n.searchbar.searchbar-inline .searchbar-input-wrap {height:40px;}
\n.searchbar.searchbar-inline {marginTop:10px;marginBottom:-5px;}
\nhtml[dir=rtl] .search-grid a i {marginRight:0;marginLeft:6px;}
\nhtml[dir=rtl] .search-grid a {textAlign:right;}
\nhtml[dir=rtl] .search-grid a:nth-child(2n) {marginLeft:0;}
\nhtml[dir=rtl] .search-grid a:nth-child(odd) {marginLeft:10px;marginRight:0;}','','1759919899','1759908514','2','36','0','2');
INSERT INTO `t6_css` VALUES('37','ori','profile','css','.edit-profile-image i {color:#fff;fontSize:15px;}
\n.edit-profile-image {backgroundColor:#0091de;display:flex;}
\n.edit-profile-image {position:absolute;bottom:8px;right:8px;borderRadius:50%;border:1px solid #fff;width:20px;height:20px;alignItems:center;justifyContent:center;}
\n.grid.grid-gap.profile-stats {gap:0;}
\n.navbar-profile img {borderRadius:50%;width:30px;}
\n.panel .profile-header .profile-image .profile-online {bottom:7px;right:7px;width:12px;height:12px;}
\n.panel .profile-header .profile-image img {width:90px;}
\n.panel .profile-header .profile-name {fontSize:19px;marginTop:5px;}
\n.panel .profile-header .profile-subtitle {fontSize:14px;}
\n.panel .profile-header {marginBottom:40px;marginTop:40px;}
\n.profile-buttons .author-follow {width:auto;margin:0 7px;padding:0 20px 0 15px;}
\n.profile-buttons .contact-button i {padding:0;fontSize:20px;}
\n.profile-buttons .contact-button {backgroundColor:var(--light-gray);}
\n.profile-buttons .contact-button {color:var(--title-color);borderRadius:15px;width:44px;height:44px;display:flex;alignItems:center;justifyContent:center;margin:0 7px;}
\n.profile-buttons {display:flex;justifyContent:center;marginBottom:30px;}
\n.profile-header {display:flex;alignItems:center;flexDirection:column;margin:20px 0;}
\n.profile-image img {width:120px;borderRadius:50%;}
\n.profile-image {position:relative;}
\n.profile-name {color:var(--title-color);fontWeight:500;fontSize:20px;marginTop:15px;}
\n.profile-online {backgroundColor:#0091de;display:flex;}
\n.profile-online {position:absolute;bottom:6px;right:15px;borderRadius:50%;border:2px solid #fff;width:15px;height:15px;alignItems:center;justifyContent:center;}
\n.profile-stat {display:flex;flexDirection:column;borderRight:1px solid #e2e3e5;textAlign:center;}
\n.profile-stat-number {fontWeight:600;fontSize:20px;}
\n.profile-stat-title {color:var(--text-color);fontSize:15px;}
\n.profile-stat:last-child {borderRight:none;}
\n.profile-stats {marginBottom:30px;}
\n.profile-subtitle {color:#99a0a7;fontWeight:400;fontSize:15px;marginBottom:5px;}
\nhtml[dir=rtl] .profile-stat:first-child {borderRight:none;}
\nhtml[dir=rtl] .profile-stat:last-child {borderRight:1px solid #e2e3e5;}
\n.dark .edit-profile-image {border:1px solid var(--background-color);}
\n.dark .panel .profile-header .profile-image .profile-online {border:2px solid var(--light-gray);}
\n.dark .profile-online {border:2px solid var(--background-color);}
\n.dark .profile-stat {borderRight:1px solid #2d3d4a;}
\n.dark .profile-stat:last-child {borderRight:none;}','','1759920168','1759908568','2','37','0','2');
INSERT INTO `t6_css` VALUES('38','ori','dark_setting','css','.dark .settings-list .colored-icon.yellow,.settings-list .colored-icon.yellow{color:#fff;background-color:#ffc62b}
\n.dark .settings-list .colored-icon.blue,.settings-list .colored-icon.blue{color:#fff;background-color:#089bea}
\n.dark .settings-list .colored-icon.green,.settings-list .colored-icon.green{color:#fff;background-color:#41d359}
\n.dark .settings-list .colored-icon.pink,.settings-list .colored-icon.pink{color:#fff;background-color:#f20f6a}
\n.dark .settings-list .colored-icon.orange,.settings-list .colored-icon.orange{color:#fff;background-color:#ff9925}
\n.dark .settings-list .colored-icon.red,.settings-list .colored-icon.red{color:#fff;background-color:#ff4530}
\n.dark .settings-list .colored-icon.purple,.settings-list .colored-icon.purple{color:#fff;background-color:#9638f3}
\n.dark .settings-list .colored-icon.gray,.settings-list .colored-icon.gray{color:#fff;background-color:#878787}','','1759908609','1759908599','2','38','0','2');
INSERT INTO `t6_css` VALUES('39','ori','stock','css','.dark .stock-item {backgroundColor:var(--light-gray);boxShadow:none;}
\n.stock-item img {width:40px;marginRight:15px;}
\n.stock-item {boxShadow:var(--block-shadow);}
\n.stock-item {display:flex;padding:13px 15px;borderRadius:13px;marginBottom:8px;}
\n.stock-item-bottom {display:flex;justifyContent:space-between;}
\n.stock-item-change {fontSize:14px;fontWeight:500;}
\n.stock-item-details {flexDirection:column;display:flex;}
\n.stock-item-details {width:100%;}
\n.stock-item-name {color:var(--text-color);fontSize:14px;}
\n.stock-item-title {fontWeight:500;color:var(--title-color);fontSize:15px;}
\n.stock-item-top {display:flex;justifyContent:space-between;}
\n.stock-item-top {marginBottom:3px;}
\n.stock-item-value {fontWeight:500;color:var(--title-color);fontSize:15px;}
\nhtml[dir=rtl] .stock-item img {marginLeft:15px;marginRight:0;}','','1759919404','1759908691','2','39','0','2');
INSERT INTO `t6_css` VALUES('40','ori','color','css','.colored-icon .icon {fontSize:19px;}
\n.colored-icon {backgroundColor:#ebebf2;borderRadius:50%;height:38px;width:38px;display:flex;alignItems:center;justifyContent:center;marginRight:15px;color:var(--title-color);}
\n.colored-icon.blue {color:#0091de;backgroundColor:rgba(0,145,222,.1);}
\n.colored-icon.green {color:#19b48e;backgroundColor:rgba(25,180,142,.1);}
\n.colored-icon.orange {color:#ee8f30;backgroundColor:rgba(255,156,60,.16);}
\n.colored-icon.pink {color:#e2206e;backgroundColor:rgba(226,32,95,.1);}
\n.colored-icon.purple {color:#9146da;backgroundColor:rgba(145,70,218,.15);}
\n.colored-icon.red {color:#d8422e;backgroundColor:rgba(216,66,46,.13);}
\n.colored-icon.yellow {color:#e5b32d;backgroundColor:rgba(229,179,45,.2);}
\n.colored-icons-list a {justifyContent:flex-start;padding:11px var(--f7-list-item-padding-horizontal);height:auto;}
\n.dark .colored-icon.blue {backgroundColor:rgba(0,145,222,.25);}
\n.dark .colored-icon.green {backgroundColor:rgba(25,180,142,.2);}
\n.dark .colored-icon.orange {backgroundColor:rgba(255,156,60,.2);}
\n.dark .colored-icon.pink {backgroundColor:rgba(226,32,95,.2);}
\n.dark .colored-icon.purple {backgroundColor:rgba(145,70,218,.3);}
\n.dark .colored-icon.red {backgroundColor:rgba(216,66,46,.3);}
\n.dark .colored-icon.yellow {backgroundColor:rgba(229,179,45,.2);}
\nhtml[dir=rtl] .colored-icon {marginRight:0;marginLeft:10px;}
\n.bg-color-primary {backgroundColor:var(--f7-theme-color) !important;}
\n.color-dark {--f7-theme-color:#1e2b47;--f7-theme-color-rgb:30,43,71;--f7-theme-color-shade:#121a2a;--f7-theme-color-tint:#2a3c64;}
\n.color-light-gray {--f7-button-text-color:var(--title-color);--f7-theme-color:#ecf1f5;--f7-theme-color-rgb:236,241,245;--f7-theme-color-shade:#d1dde7;--f7-theme-color-tint:#f6f8fa;--f7-badge-text-color:var(--title-color);}
\n.color-light-gray {--f7-text-color:var(--title-color);}','','1759927367','1759908782','2','40','0','2');
INSERT INTO `t6_css` VALUES('41','ori','navbar','css','html[dir=rtl] .navbar a .arrow-back {transform:rotate(180deg);paddingRight:0;paddingLeft:3px;}
\n.ios .navbar .left a+a {marginLeft:0;}
\n.ios .navbar .right a+a {marginLeft:0;}
\n.navbar .icon .badge {fontSize:11px;fontWeight:600;}
\n.navbar .title {color:var(--title-color);}
\n.navbar .title-large {height:58px;}
\n.navbar .title-large-text {color:var(--title-color);paddingLeft:15px;}
\n.navbar a i {color:var(--title-color);}
\n.navbar a.link.onboarding-skip {fontWeight:500;color:var(--title-color);paddingRight:8px;}
\n.navbar-arrow {paddingLeft:2px;width:25px;}
\n.navbar-bg {backgroundColor:var(--background-color);}
\n.navbar-bg {transition:background-color .4s;}
\n.navbar-bg:after {display:none;}
\n.navbar-photo-browser .right .link i {color:#fff;}
\n.navbar-photo-browser .right .link svg {color:#fff;}
\n.navbar-transparent .navbar-inner .left a i {color:#fff;transition:color 00s;textShadow:0 0 11px #000;}
\n.navbar-transparent.navbar-transparent-visible .navbar-inner .left a i {color:#000;transition:color;textShadow:none;}','','1759920620','1759908805','2','41','0','2');
INSERT INTO `t6_css` VALUES('42','ori','grid','css','.casting .grid {marginBottom:20px;}
\n.casting .grid>div {display:flex;alignItems:center;flexDirection:column;justifyContent:flex-start;}
\n.grid {margin:10px 0;}
\n.grid-buttons-demo .button {marginBottom:0;marginTop:0;}
\n.grid-buttons-demo {marginTop:0;marginBottom:0;}
\n.grid-demo {margin:15px 0;}
\n.grid-demo>* {padding:20px 0;fontWeight:500;color:var(--title-color);backgroundColor:var(--light-gray);borderRadius:6px;textAlign:center;}
\n.grid-no-margin {margin:0;}','','1759924997','1759908829','2','42','0','2');
INSERT INTO `t6_css` VALUES('43','ori','category','css','.categories-slider swiper-slide {width:auto;}
\n.categories-slider {marginTop:15px;}
\n.category-item img {borderRadius:15px;overflow:hidden;}
\n.category-item img {objectFit:cover;height:100%;width:100%;filter:brightness(60%);}
\n.category-item {borderRadius:15px;overflow:hidden;}
\n.category-item {height:100px;position:relative;}
\n.category-name {position:absolute;top:50%;width:100%;textAlign:center;color:#fff;fontWeight:600;fontSize:18px;lineHeight:0;textShadow:0 0 20px #000;}
\n.category-slide {backgroundColor:var(--light-gray);}
\n.category-slide {color:var(--title-color);fontWeight:500;}
\n.category-slide {fontSize:14px;lineHeight:21px;padding:10px 16px;display:flex;borderRadius:20px;}
\n.dark .category-item img {filter:brightness(70%);}','','1759924494','1759908849','2','43','0','2');
INSERT INTO `t6_css` VALUES('44','ori','setting','css','.dark .settings-list .colored-icon.blue {color:#fff;backgroundColor:#089bea;}
\n.dark .settings-list .colored-icon.gray {color:#fff;backgroundColor:#878787;}
\n.dark .settings-list .colored-icon.green {color:#fff;backgroundColor:#41d359;}
\n.dark .settings-list .colored-icon.orange {color:#fff;backgroundColor:#ff9925;}
\n.dark .settings-list .colored-icon.pink {color:#fff;backgroundColor:#f20f6a;}
\n.dark .settings-list .colored-icon.purple {color:#fff;backgroundColor:#9638f3;}
\n.dark .settings-list .colored-icon.red {color:#fff;backgroundColor:#ff4530;}
\n.dark .settings-list .colored-icon.yellow {color:#fff;backgroundColor:#ffc62b;}
\n.list .item-content.toggle-setting {paddingLeft:0;}
\n.settings-email {color:#99a0a7;fontWeight:400;}
\n.settings-header {display:flex;alignItems:center;flexDirection:column;margin:25px 0 35px;}
\n.settings-image img {width:120px;borderRadius:50%;}
\n.settings-image {position:relative;}
\n.settings-list .colored-icon {borderRadius:10px;height:32px;width:32px;}
\n.settings-list .colored-icon.blue {color:#fff;backgroundColor:#089bea;}
\n.settings-list .colored-icon.gray {color:#fff;backgroundColor:#878787;}
\n.settings-list .colored-icon.green {color:#fff;backgroundColor:#41d359;}
\n.settings-list .colored-icon.orange {color:#fff;backgroundColor:#ff9925;}
\n.settings-list .colored-icon.pink {color:#fff;backgroundColor:#f20f6a;}
\n.settings-list .colored-icon.purple {color:#fff;backgroundColor:#9638f3;}
\n.settings-list .colored-icon.red {color:#fff;backgroundColor:#ff4530;}
\n.settings-list .colored-icon.yellow {color:#fff;backgroundColor:#ffc62b;}
\n.settings-list .item-after {paddingRight:20px;fontSize:15px;}
\n.settings-list .item-after:has(.toggle) {paddingRight:0;}
\n.settings-list .item-title {fontWeight:500;color:var(--title-color);fontSize:15px;}
\n.settings-name {fontWeight:500;fontSize:15px;marginTop:20px;marginBottom:2px;}
\n.toggle-setting .item-after {paddingRight:0;}
\n.toggle-setting .item-inner {paddingLeft:15px;}
\nhtml[dir=rtl] .settings-list .item-after {paddingLeft:20px;paddingRight:0;}
\nhtml[dir=rtl] .settings-list .item-after:has(.toggle) {paddingLeft:0;}','','1759919745','1759908937','2','44','0','2');
INSERT INTO `t6_css` VALUES('45','ori','post','css','.create-post-cover i {marginBottom:5px;}
\n.create-post-cover input[type=file] {backgroundColor:red;position:absolute;width:95%;height:90%;opacity:0;zIndex:99;cursor:pointer;}
\n.create-post-cover {backgroundColor:var(--light-gray);}
\n.create-post-cover {height:25vh;borderRadius:10px;width:100%;display:flex;alignItems:center;flexDirection:column;justifyContent:center;fontSize:14px;color:#93a0b1;}
\n.create-post-cover {marginBottom:20px;}
\n.create-post-cover {position:relative;}
\n.dark .infinite-scroll-demo .post-horizontal .post-image {backgroundColor:var(--text-color);}
\n.dark .post-horizontal .post-category {color:#0ee9b3;}
\n.dark .post-horizontal {boxShadow:none;backgroundColor:var(--light-gray);}
\n.infinite-scroll-demo .post-horizontal .post-image {borderRadius:15px;minWidth:84px;maxWidth:84px;height:84px;backgroundColor:var(--title-color);display:flex;alignItems:center;justifyContent:center;color:#fff;fontWeight:600;fontSize:30px;}
\n.post-horizontal .post-category {color:var(--text-color);fontSize:14px;}
\n.post-horizontal .post-date {color:var(--text-color);fontSize:14px;}
\n.post-horizontal .post-date {lineHeight:0;}
\n.post-horizontal .post-image img {objectFit:cover;borderRadius:15px;minWidth:84px;maxWidth:84px;height:84px;}
\n.post-horizontal .post-image {marginLeft:10px;lineHeight:0;}
\n.post-horizontal .post-title {color:var(--title-color);fontWeight:500;lineHeight:22px;fontSize:14px;margin:2px 0 11px;overflow:hidden;WebkitLineClamp:2;}
\n.post-horizontal .post-title {display:-webkit-box;WebkitBoxOrient:vertical;textOverflow:ellipsis;}
\n.post-horizontal {boxShadow:var(--block-shadow);}
\n.post-horizontal {display:flex;padding:15px 15px 15px 17px;borderRadius:15px;justifyContent:space-between;}
\n.post-list .post-horizontal {marginBottom:10px;alignItems:normal;}
\n.post-list {margin:10px 0 20px;}
\n.single-post-actions {fontSize:25px;}
\n.single-post-author .author-description {color:var(--text-color);marginTop:2px;fontSize:13px;}
\n.single-post-author .author-details {display:flex;flexDirection:column;justifyContent:center;}
\n.single-post-author .author-follow {width:auto;marginLeft:auto;padding:0 15px 0 11px;height:38px;}
\n.single-post-author .author-name {fontWeight:500;fontSize:15px;}
\n.single-post-author {backgroundColor:var(--light-gray);}
\n.single-post-author {display:flex;alignItems:center;padding:15px;borderRadius:15px;margin:20px 0;}
\n.single-post-author>img {width:55px;borderRadius:50%;marginRight:12px;}
\n.single-post-category {backgroundColor:var(--light-gray);}
\n.single-post-category {padding:4px 10px;height:auto;borderRadius:6px;color:var(--title-color);fontSize:14px;fontWeight:500;marginRight:5px;display:inline-block;marginTop:15px;}
\n.single-post-content img {borderRadius:8px;}
\n.single-post-date {color:var(--text-color);fontSize:16px;marginTop:10px;}
\n.single-post-title {marginTop:10px;marginBottom:15px;fontSize:28px;}
\nhtml[dir=rtl] .post-horizontal .post-image {marginLeft:0;marginRight:10px;}
\nhtml[dir=rtl] .post-horizontal {padding:15px 17px 15px 15px;}
\nhtml[dir=rtl] .single-post-author .author-follow {marginRight:auto;marginLeft:inherit;}
\nhtml[dir=rtl] .single-post-author>img {marginRight:0;marginLeft:12px;}','','1759920335','1759909061','2','45','0','2');
INSERT INTO `t6_css` VALUES('46','ori','comment','css','.comment {display:flex;margin:20px 0;}
\n.comment-count {marginBottom:2px;marginLeft:2px;}
\n.comment-date {fontSize:15px;color:var(--text-color);}
\n.comment-date {marginLeft:6px;opacity:0.8;}
\n.comment-header i {color:var(--title-color);fontSize:18px;width:10px;fontWeight:600;}
\n.comment-header {display:flex;justifyContent:space-between;width:100%;}
\n.comment-header-left {display:flex;alignItems:center;}
\n.comment-infos {width:100%;}
\n.comment-list {marginTop:30px;}
\n.comment-reply {marginLeft:60px;}
\n.comment-text {fontSize:15px;color:var(--text-color);}
\n.comment-text {lineHeight:1.55em;marginTop:2px;}
\n.comment>img {width:45px;height:45px;borderRadius:50%;marginRight:13px;}
\nhtml[dir=rtl] .comment-date {marginRight:6px;marginLeft:0;}
\nhtml[dir=rtl] .comment-reply {marginRight:60px;marginLeft:0;}
\nhtml[dir=rtl] .comment>img {marginRight:0;marginLeft:15px;}','','1759924136','1759909081','2','46','0','2');
INSERT INTO `t6_css` VALUES('47','ori','ticket','css','.dark .ticket {backgroundImage:radial-gradient(circle at 0 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0),radial-gradient(circle at 100% 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0);}
\n.dark .ticket-fill {background:#0ee9b3;}
\n.dark .ticket-fill.ticket-image {background:0 0;}
\n.dark .ticket-fill::after {backgroundColor:var(--background-color);}
\n.dark .ticket-fill::before {backgroundColor:var(--background-color);}
\n.dark .ticket-fill:not(.ticket-image) .ticket-description{color:#000!important}
\n.dark .ticket-fill:not(.ticket-image) .ticket-discount{color:#000!important}
\n.dark .ticket-fill:not(.ticket-image) .ticket-text{color:#000!important}
\n.dark .ticket-fill:not(.ticket-image) i{color:#000!important}
\n.ticket {position:relative;height:140px;boxSizing:border-box;marginBottom:20px;borderRadius:15px;display:flex;}
\n.ticket {width:100%;fontSize:15px;backgroundSize:50% 100%;backgroundRepeat:no-repeat;backgroundImage:radial-gradient(circle at 0 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0),radial-gradient(circle at 100% 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0);backgroundPosition:top left,top right;overflow:hidden;padding:20px 30px;alignItems:center;justifyContent:space-between;}
\n.ticket-background-icon i {fontSize:110px;}
\n.ticket-background-icon {position:absolute;right:40px;color:rgba(255,255,255,.1);}
\n.ticket-description {fontWeight:500;fontSize:14px;}
\n.ticket-discount {fontSize:40px;fontWeight:600;color:var(--title-color);}
\n.ticket-fill .ticket-description {color:#fff;fontWeight:500;zIndex:10;}
\n.ticket-fill .ticket-discount {color:#fff;fontWeight:500;zIndex:10;}
\n.ticket-fill {position:relative;height:140px;boxSizing:border-box;marginBottom:20px;borderRadius:15px;display:flex;}
\n.ticket-fill {width:100%;fontSize:15px;background:linear-gradient(90deg,#15161b,#14142d);flexDirection:column;alignItems:flex-start;justifyContent:center;padding:20px 30px;}
\n.ticket-fill::after {content:"";width:22px;height:11px;backgroundColor:#fff;borderRadius:10rem 10rem 0 0;position:absolute;top:75px;zIndex:10;}
\n.ticket-fill::after {right:-6px;transform:rotate(270deg);}
\n.ticket-fill::before {content:"";width:22px;height:11px;backgroundColor:#fff;borderRadius:10rem 10rem 0 0;position:absolute;top:75px;zIndex:10;}
\n.ticket-fill::before {left:-6px;transform:rotate(90deg);}
\n.ticket-fill:active {opacity:0.9;}
\n.ticket-image {flex:1;flexBasis:50%;}
\n.ticket-image-bg {width:100%;height:100%;position:absolute;left:0;top:0;zIndex:1;objectFit:cover;borderRadius:15px;}
\n.ticket-image-bg+.ticket-text {zIndex:10;color:#fff;}
\n.ticket-infos {flex:1;flexBasis:50%;paddingLeft:5px;}
\n.ticket-text {textTransform:uppercase;fontWeight:600;fontSize:14px;}
\n.ticket:active {opacity:0.5;}','','1759919163','1759909244','2','47','0','2');
INSERT INTO `t6_css` VALUES('48','ori','signin','css','.signin-image img {width:90%;}
\n.signin-image {display:flex;alignItems:center;justifyContent:center;}
\n.signin-links {fontWeight:500;fontSize:15px;display:flex;alignItems:center;justifyContent:space-between;}','','1759919551','1759909301','2','48','0','2');
INSERT INTO `t6_css` VALUES('49','ori','signup','css','.signup-have-account {color:var(--title-color);fontWeight:500;fontSize:15px;}
\n.signup-image img {width:85%;}
\n.signup-image {display:flex;alignItems:center;justifyContent:center;}
\n.signup-tos a {color:var(--text-color);textDecoration:underline;}
\n.signup-tos {fontSize:13px;}','','1759919525','1759909322','2','49','0','2');
INSERT INTO `t6_css` VALUES('50','ori','rating','css','.rating-bg {backgroundColor:#f5f9ff;borderRadius:15px;}
\n.rating-block {display:flex;flexDirection:column;justifyContent:space-between;alignItems:center;padding:40px 25px;}
\n.rating-block-bar {margin:0 10px;}
\n.rating-block-count {fontSize:14px;marginTop:10px;color:var(--text-color);marginBottom:15px;}
\n.rating-block-detailed .rating-block-stars i {fontSize:22px;}
\n.rating-block-detailed {display:flex;flexDirection:column;justifyContent:space-between;alignItems:center;padding:20px 0;}
\n.rating-block-group {width:100%;}
\n.rating-block-individual {display:flex;alignItems:center;margin:15px 0;}
\n.rating-block-individual:first-child {marginTop:0;}
\n.rating-block-note {fontWeight:500;fontSize:30px;margin:20px 0;}
\n.rating-block-percentage {fontWeight:500;width:44px;}
\n.rating-block-star i {fontSize:18px;marginLeft:3px;}
\n.rating-block-star {display:flex;alignItems:center;justifyContent:flex-end;fontWeight:500;width:40px;}
\n.rating-block-text {textAlign:center;color:var(--text-color);}
\n.rating-block-total {display:flex;justifyContent:space-between;alignItems:center;backgroundColor:#f5f9ff;borderRadius:50px;padding:10px 15px;}
\n.rating-block-total-text {fontWeight:500;marginTop:2px;marginLeft:5px;}
\nhtml[dir=rtl] .rating-block-star i {marginRight:3px;marginLeft:0;}
\nhtml[dir=rtl] .rating-block-total-text {marginLeft:0;marginRight:5px;}
\n.dark .rating-bg {backgroundColor:var(--light-gray);}
\n.dark .rating-block-total {backgroundColor:var(--light-gray);}','','1759920003','1759909443','2','50','0','2');
INSERT INTO `t6_css` VALUES('51','ori','contact','css','.contact-block .contact-method {fontSize:14px;marginTop:4px;}
\n.contact-block i {margin:0;fontSize:22px;paddingRight:0;fontWeight:400;}
\n.contact-block {backgroundColor:var(--light-gray);}
\n.contact-block {color:var(--title-color);fontWeight:500;}
\n.contact-block {display:flex;flexDirection:column;alignItems:center;justifyContent:center;padding:13px 5px 10px;borderRadius:15px;}
\n.contact-input {height:150px;}','','1759923377','1759909511','2','51','0','2');
INSERT INTO `t6_css` VALUES('52','ori','author','css','.author-list .author-follow {height:35px;margin:0;color:#fff;}
\n.author-slide .author-name {color:var(--title-color);fontWeight:500;}
\n.author-slide .author-name {textAlign:center;marginTop:7px;}
\n.author-slide img {width:60px;borderRadius:50%;}
\n.author-slide {flexDirection:column;display:flex;}
\n.author-slide {width:85px;}
\n.authors-slider swiper-slide {width:auto;}
\n.authors-slider {marginTop:20px;}
\n.comment-author {display:flex;alignItems:center;}
\n.comment-infos .author-name {fontWeight:500;fontSize:15px;}','','1759931123','1759909554','2','52','0','2');
INSERT INTO `t6_css` VALUES('53','ori','link_banner','css','.dark .link-banner.bg-color-dark {backgroundColor:var(--light-gray) !important;}
\n.dark .link-banner.dark-theme-green .link-banner-subtitle {color:#000;}
\n.dark .link-banner.dark-theme-green .link-banner-title {color:#000;}
\n.dark .link-banner.dark-theme-green i {color:#000;}
\n.dark .link-banner.dark-theme-green {backgroundColor:#0ee9b3;}
\n.dark .link-banner.dark-theme-green.link-chevron::before {color:#000;}
\n.link-banner i {fontWeight:400;color:var(--title-color);}
\n.link-banner i {marginRight:10px;fontSize:35px;}
\n.link-banner img {marginRight:10px;maxHeight:40px;width:auto;}
\n.link-banner {backgroundColor:var(--light-gray);}
\n.link-banner {borderRadius:15px;}
\n.link-banner {padding:15px 15px 15px 20px;margin:15px 0;fontWeight:500;fontSize:15px;display:flex;alignItems:center;justifyContent:flex-start;color:var(--title-color);overflow:hidden;}
\n.link-banner {position:relative;}
\n.link-banner-subtitle {fontSize:14px;marginTop:2px;opacity:0.7;}
\n.link-banner-subtitle {fontWeight:400;color:var(--title-color);}
\n.link-banner-text {color:var(--title-color);marginLeft:10px;}
\n.link-banner-text {display:flex;flexDirection:column;}
\n.link-banner.bg-color-dark .link-banner-subtitle {color:#fff;opacity:0.8;}
\n.link-banner.bg-color-dark .link-banner-text {color:#fff;}
\n.link-banner.bg-color-dark i {color:#fff;}
\n.link-banner.bg-color-dark {backgroundColor:var(--title-color);}
\n.link-banner.bg-color-dark {color:#fff;}
\n.link-banner.bg-color-dark.link-chevron::before {color:#fff;}
\n.link-banner.bg-color-primary .link-banner-subtitle {color:#fff;opacity:0.8;}
\n.link-banner.bg-color-primary .link-banner-text {color:#fff;}
\n.link-banner.bg-color-primary i {color:#fff;}
\n.link-banner.bg-color-primary {color:#fff;}
\n.link-banner.bg-color-primary.link-chevron::before {color:#fff;}
\n.simple-link-banner .link-banner-text {fontSize:15px;marginLeft:2px;}
\n.simple-link-banner i {fontSize:25px;}
\nhtml[dir=rtl] .link-banner i {marginRight:0;marginLeft:10px;}
\nhtml[dir=rtl] .link-banner img {marginRight:0;marginLeft:10px;}','','1759923564','1759909608','2','53','0','2');
INSERT INTO `t6_css` VALUES('54','ori','information_block','css','.information-block h2 {fontSize:30px;margin:10px 0 0;}
\n.information-block img {width:30%;}
\n.information-block p {color:var(--title-color);margin:10px 0;fontWeight:500;lineHeight:1.5;}
\n.information-block {backgroundImage:url("https://yui.xioyuna.com/template/img/images/pattern-general.png");color:var(--title-color);textAlign:center;padding:25px 20px 20px;margin:20px 0;}
\n.information-block {backgroundRepeat:no-repeat;backgroundSize:cover;backgroundPosition:center;}
\n.information-block {borderRadius:15px;}','','1759923317','1759909713','2','54','0','2');
INSERT INTO `t6_css` VALUES('55','ori','movie','css','html[dir=rtl] .movie-infos {marginRight:15px;marginLeft:0;}
\n.card-movie .card-image img {aspectRatio:9/13;objectFit:cover;}
\n.card-movie {borderRadius:15px;}
\n.card-movie-rating i {fontSize:12px;marginBottom:3px;}
\n.card-movie-rating {color:var(--title-color);fontWeight:500;}
\n.card-movie-rating {position:absolute;right:8px;bottom:8px;backgroundColor:#fff;padding:4px 8px 2px 6px;borderRadius:20px;fontSize:12px;}
\n.dark .card-movie-rating {backgroundColor:var(--background-color);color:#fff;}
\n.movie-block i {fontSize:20px;}
\n.movie-block {backgroundColor:var(--light-gray);}
\n.movie-block {color:var(--title-color);alignItems:center;justifyContent:center;borderRadius:20px;marginBottom:15px;padding:19px 0;}
\n.movie-block {display:flex;flexDirection:column;}
\n.movie-block-name {margin:5px 0 1px;color:#708197;fontWeight:400;}
\n.movie-block-text {fontWeight:600;}
\n.movie-block:last-child {marginBottom:0;}
\n.movie-distribution .item-inner .item-after {fontWeight:500;color:var(--title-color);fontSize:15px;}
\n.movie-distribution.list .item-title {fontWeight:400;color:var(--text-color);}
\n.movie-header {display:flex;justifyContent:space-between;marginBottom:30px;}
\n.movie-infos {width:100%;marginLeft:15px;}
\n.movie-rating {paddingTop:0;paddingBottom:0;marginBottom:-15px;}','','1759920702','1759909918','2','55','0','2');
INSERT INTO `t6_css` VALUES('56','ori','sheet','css','.dark .sheet-modal {background:var(--light-gray);}
\n.sheet-modal .page-content {padding:0 20px 20px;}
\n.sheet-modal {height:32vh;}
\n.sheet-modal::before {display:none !important;}
\n.sheet-modal[data-swipe-to-close=true] .page-content {paddingTop:20px;}
\n.sheet-modal[data-swipe-to-close=true] .sheet-modal-inner::before {content:"";width:40px;height:6px;position:absolute;left:50%;top:8px;marginLeft:-20px;borderRadius:3px;background:#666;cursor:pointer;zIndex:15;}
\n.sheet-modal[data-swipe-to-close=true] {borderTopRightRadius:20px;borderTopLeftRadius:20px;height:auto;maxHeight:70vh;}','','1759919607','1759912429','2','56','0','2');
INSERT INTO `t6_css` VALUES('57','ori','popup','css','.popup-content {marginTop:10px;flex:1;textAlign:center;}
\n.popup-demo .button {marginBottom:25px;minHeight:44px;}
\n.popup-demo .swipe-down-text {marginBottom:25px;textAlign:center;fontSize:18px;fontWeight:500;}
\n.popup-demo img {width:80%;marginTop:40px;}
\n.popup-demo {paddingTop:0;paddingBottom:0;display:flex;flexDirection:column;}','','1759920365','1759912456','2','57','0','2');
INSERT INTO `t6_css` VALUES('58','ori','checkbox','css','.checkbox i {borderRadius:5px;border:2px solid #c7c7cc;}
\n.checkbox i:after {top:-2px;left:-2px;}
\n.checkbox-rounded .checkbox i {borderRadius:50%;}
\n.checkbox-rounded .icon-checkbox {borderRadius:50%;}
\n.checkbox.checkbox-inline {marginRight:5px;}
\n.icon-checkbox {borderRadius:5px;border:2px solid #c7c7cc;}
\n.icon-checkbox:after {top:-2px;left:-2px;}
\n.ios .checkbox i:after {fontSize:20px;fontWeight:600;}
\n.ios .icon-checkbox:after {fontSize:20px;fontWeight:600;}
\nhtml[dir=rtl] .checkbox.checkbox-inline {marginRight:0;marginLeft:5px;}
\nlabel:not(.checkbox,.item-checkbox,.radio,.item-radio,.toggle){font-weight:500;margin-bottom:7px;font-size:15px;display:block}','','1759924604','1759912576','2','58','0','2');
INSERT INTO `t6_css` VALUES('59','ori','timeline','css','.dark .timeline-item-divider:after {background:#fff;}
\n.dark .timeline-item-divider:before {background:#fff;}
\n.dark .timeline-item-inner {background:0 0;}
\n.timeline {padding:0;}
\n.timeline-item-content {marginTop:-4px;marginBottom:5px;}
\n.timeline-item-date {fontWeight:500;}
\n.timeline-item-divider {background:var(--title-color);}
\n.timeline-item-divider:after {width:1px;opacity:0.2;background:#41454b;}
\n.timeline-item-divider:before {width:1px;opacity:0.2;background:#41454b;}
\n.timeline-item-inner {paddingTop:0;}
\n.timeline-item-text img {borderRadius:10px;}
\n.timeline-item-text {color:var(--text-color);marginTop:5px;lineHeight:1.8em;}','','1759919110','1759912653','2','59','0','2');
INSERT INTO `t6_css` VALUES('60','ori','stepper','css','.dark .stepper.color-light-gray .stepper-button-minus::after {backgroundColor:var(--background-color);}
\n.dark .stepper.color-light-gray .stepper-button-plus::after {backgroundColor:var(--background-color);}
\n.dark .stepper.color-light-gray .stepper-button-plus::before {backgroundColor:var(--background-color);}
\n.stepper .stepper-input-wrap input {backgroundColor:transparent;padding:0;borderRadius:0;color:var(--title-color);width:40px;}
\n.stepper-button {width:28px;}
\n.stepper-button-minus {width:28px;}
\n.stepper-button-minus:after {width:12px;}
\n.stepper-button-minus:first-child {borderRadius:8px;}
\n.stepper-button-minus:last-child {borderRadius:8px;}
\n.stepper-button-plus {width:28px;}
\n.stepper-button-plus:after {width:12px;}
\n.stepper-button-plus:before {height:12px;}
\n.stepper-button-plus:first-child {borderRadius:8px;}
\n.stepper-button-plus:last-child {borderRadius:8px;}
\n.stepper-button:first-child {borderRadius:8px;}
\n.stepper-button:last-child {borderRadius:8px;}
\n.stepper-input-wrap {border:none;}
\n.stepper-value {border:none;}
\n.stepper.color-light-gray .stepper-button-minus::after {backgroundColor:var(--title-color);}
\n.stepper.color-light-gray .stepper-button-plus::after {backgroundColor:var(--title-color);}
\n.stepper.color-light-gray .stepper-button-plus::before {backgroundColor:var(--title-color);}
\nhtml[dir=rtl] .stepper .stepper-input-wrap input {paddingRight:0;}','','1759919485','1759912704','2','60','0','2');
INSERT INTO `t6_css` VALUES('61','ori','list ','css','.faq-list .list.accordion-list .item-title {fontSize:15px;}
\n.icon-list .icon {margin:0 15px;}
\n.list .item-after {color:var(--text-color);}
\n.list .item-after.event-time {color:var(--title-color);fontWeight:500;fontSize:14px;}
\n.list .item-inner {paddingTop:14px;paddingBottom:14px;}
\n.list .item-media.event-icon i {fontSize:35px;margin:0 5px;}
\n.list .item-title {fontWeight:500;color:var(--title-color);fontSize:15px;}
\n.list li {color:var(--title-color);paddingTop:0;paddingBottom:0;}
\n.list {marginBottom:25px;}
\n.list {marginTop:15px;}
\n.list-title {margin:25px 0 10px;}
\n.list-title+.list {marginTop:5px;}
\n.list-with-icons .item-media img {maxHeight:35px;maxWidth:35px;height:auto;width:auto;borderRadius:50%;}
\n.list.accordion-list .item-title {color:var(--title-color);fontWeight:500;fontSize:15px;}','','1759927422','1759912745','2','61','0','2');
INSERT INTO `t6_css` VALUES('62','ori','help','css','.help-center-banner {borderRadius:15px;}
\n.help-center-links {marginBottom:30px;}
\n.help-center-title {marginTop:20px;marginBottom:-5px;fontSize:2em;}','','1759923598','1759912856','2','62','0','2');
INSERT INTO `t6_css` VALUES('63','ori','page','css','.ios .router-transition-backward .page-current:before {background:0 0;}
\n.ios .router-transition-backward .page-previous:after {background:0 0;}
\n.ios .router-transition-forward .page-current:after {background:0 0;}
\n.ios .router-transition-forward .page-next:before {background:0 0;}
\n.page {backgroundColor:var(--background-color);}
\n.page-content .movie-cover {width:calc(70vw - 30px);borderRadius:25px;maxHeight:342px;objectFit:cover;}
\n.page-content img {width:100%;}
\n.page-content {paddingLeft:15px;paddingRight:15px;paddingBottom:calc(var(--f7-page-toolbar-bottom-offset,0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom,0px) + 20px);}
\n.page-onboarding {display:flex;flexDirection:column;justifyContent:space-between;paddingBottom:calc(var(--f7-page-toolbar-bottom-offset,0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom,0px) - 20px);}
\n.page-opacity-effect {background:0 0;}
\n.page-shadow-effect {background:0 0;}
\n.page-theme-transition {transition:background-color .4s;}
\n.page[data-name=chat] .page-content {paddingBottom:calc(var(--f7-page-toolbar-bottom-offset,0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom,0px));}
\n.photo-browser-page .navbar .title {color:#fff;}','','1759920494','1759913028','2','63','0','2');
INSERT INTO `t6_css` VALUES('64','ori','message','css','html[dir=rtl] .messagebar-area textarea {padding:6px 16px;}
\n.dark .information-block:not(.success-message,.error-message) h2{color:#1e2b47}
\n.dark .information-block:not(.success-message,.error-message) p{color:#1e2b47}
\n.information-block.error-message h2 {color:#b14b4b;}
\n.information-block.error-message p {color:#b14b4b;}
\n.information-block.error-message {backgroundImage:url("https://yui.xioyuna.com/template/img/images/pattern-error.png");}
\n.information-block.success-message h2 {color:#599c63;}
\n.information-block.success-message p {color:#599c63;}
\n.information-block.success-message {backgroundImage:url("https://yui.xioyuna.com/template/img/images/pattern-success.png");}
\n.ios .dark .message-received .message-bubble {backgroundColor:var(--light-gray);}
\n.ios .message+.message:not(.message-first){margin-top:2px}
\n.ios .message-received .message-bubble {padding:8px 13px 8px 20px;}
\n.ios .message-received {marginLeft:15px;}
\n.ios .message-sent .message-bubble {padding:8px 20px 8px 13px;}
\n.ios .message-sent {marginRight:15px;}
\n.link-banner.error-message .link-banner-subtitle {color:#9b3d3d;}
\n.link-banner.error-message .link-banner-title {color:#9b3d3d;}
\n.link-banner.error-message i {color:#9b3d3d;}
\n.link-banner.error-message {backgroundImage:url("https://yui.xioyuna.com/template/img/images/pattern-error.png");}
\n.link-banner.error-message {backgroundRepeat:no-repeat;backgroundSize:cover;backgroundPosition:center;}
\n.link-banner.error-message.link-chevron::before {color:#9b3d3d;}
\n.link-banner.success-message .link-banner-subtitle {color:#508d59;}
\n.link-banner.success-message .link-banner-title {color:#508d59;}
\n.link-banner.success-message i {color:#508d59;}
\n.link-banner.success-message {backgroundImage:url("https://yui.xioyuna.com/template/img/images/pattern-success.png");}
\n.link-banner.success-message {backgroundRepeat:no-repeat;backgroundSize:cover;backgroundPosition:center;}
\n.link-banner.success-message.link-chevron::before {color:#508d59;}
\n.message-bubble {fontSize:15px;}
\n.message-list.detailed-list .item-after .badge {padding:0 6px;minWidth:22px;}
\n.messagebar .send-link i {transform:rotate(45deg);marginLeft:-6px;marginRight:3px;}
\n.messagebar .toolbar-inner {paddingBottom:3px;}
\n.messagebar textarea {backgroundColor:var(--light-gray);}
\n.messagebar textarea {minHeight:auto;border:none;marginBottom:0;fontWeight:400;fontSize:15px;}
\n.messages-date {fontSize:14px;margin:15px 0 5px;color:var(--text-color);textAlign:center;width:100%;lineHeight:1;}','','1759920884','1759913346','2','64','0','2');
INSERT INTO `t6_css` VALUES('65','ori','segmented','css','.dark .segmented.segmented-strong .button.tab-link-active {color:#181c22;}
\n.segmented-strong .segmented-highlight {boxShadow:none;backgroundColor:var(--title-color);borderRadius:12px;}
\n.segmented-strong {--f7-segmented-strong-padding:3px;}
\n.segmented.segmented-strong .button {margin:0;borderRadius:12px;}
\n.segmented.segmented-strong .button.active-state {backgroundColor:transparent;}
\n.segmented.segmented-strong .button.tab-link-active {color:#fff;}
\n.segmented.segmented-strong {backgroundColor:var(--light-gray);}
\n.segmented.segmented-strong {borderRadius:15px;}
\nhtml[dir=rtl] .dark .segmented.segmented-strong .button.tab-link-active {color:#fff;}
\nhtml[dir=rtl] .dark .segmented.segmented-strong .button{color:#1e2b47}
\nhtml[dir=rtl] .segmented.segmented-strong .button {color:#fff;}
\nhtml[dir=rtl] .segmented.segmented-strong .button.tab-link-active {color:var(--title-color);}','','1759919833','1759913562','2','65','0','2');
INSERT INTO `t6_css` VALUES('66','ori','badge','css','.badge {padding:0 6px;fontSize:13px;fontWeight:500;lineHeight:20px;}
\n.badge-with-icon i {fontSize:17px !important;marginRight:3px;}
\n.badge-with-icon {height:24px;padding:0 10px 0 6px;}
\n.badge-with-image img {height:24px;width:auto;borderRadius:12px;marginRight:6px;}
\n.badge-with-image {paddingLeft:0;height:24px;fontWeight:500;fontSize:14px;paddingRight:8px;}
\n.dark .badge.color-black {backgroundColor:#fff;}
\n.dark .badge.color-black {color:var(--background-color);}
\n.dark .badge.color-light-gray {color:var(--background-color);}
\n.detailed-list .item-after .badge {height:22px;padding:0 9px;fontSize:12px;}
\n.detailed-list .item-name .badge {marginLeft:3px;padding:0 8px;}
\n.light-gray-title .badge {padding:0;marginLeft:3px;marginBottom:2px;}
\n.verified-badge {marginLeft:2px;fontSize:19px;}
\nhtml[dir=rtl] .badge-with-icon i {marginRight:0;marginLeft:3px;}
\nhtml[dir=rtl] .badge-with-icon {padding:0 6px 0 10px;}
\nhtml[dir=rtl] .badge-with-image img {marginRight:0;marginLeft:6px;}
\nhtml[dir=rtl] .badge-with-image {paddingRight:0;paddingLeft:8px;}
\nhtml[dir=rtl] .light-gray-title .badge {marginLeft:0;marginRight:3px;}
\ni .badge {padding:0 4px;fontSize:10px;}','','1759923850','1759913598','2','66','0','2');
INSERT INTO `t6_css` VALUES('67','ori','button','css','.button i {fontSize:18px;fontWeight:400;}
\n.button img {width:17px;maxWidth:17px;maxHeight:17px;marginRight:7px;}
\n.button {width:100%;height:44px;textTransform:none;fontWeight:500;fontSize:14px;borderRadius:10px;margin:10px 0;}
\n.button-icon-left i {marginRight:6px;}
\n.button-icon-right i {marginLeft:6px;}
\n.button-round {borderRadius:22px;}
\n.dark .button.color-dark {backgroundColor:#0ee9b3;color:#181c22;}
\n.dark .button.color-light-gray {backgroundColor:#102733;}
\n.google-button {backgroundColor:#eff7e5;}
\n.onboarding-next-button i {marginLeft:5px;fontWeight:600;}
\n.toast-button.button {width:auto;}
\nform .button {margin:20px 0;}
\nhtml[dir=rtl] .button img {marginRight:0;marginLeft:7px;}
\nhtml[dir=rtl] .button-icon-left i {marginRight:0;marginLeft:5px;}
\nhtml[dir=rtl] .onboarding-next-button i {transform:rotate(180deg);marginLeft:0;marginRight:5px;}','','1759931126','1759913625','2','67','0','2');
INSERT INTO `t6_css` VALUES('68','ori','toolbar','css','.toolbar {backgroundColor:var(--background-color);}
\n.toolbar {transition:background-color .4s,transform .4s;}
\n.toolbar-bottom:before {backgroundColor:#dedede;transition:background-color .4s,transform .4s;}','','1759927724','1759913945','2','68','0','2');
INSERT INTO `t6_css` VALUES('69','ori','text_editor','css','.dark .text-editor {border:1px solid #363d43;}
\n.dark .text-editor-toolbar {borderBottom:1px solid #363d43;}
\n.text-editor {backgroundColor:var(--light-gray);}
\n.text-editor {marginRight:0;marginLeft:0;borderRadius:10px;border:1px solid #e0e3e6;marginTop:0;}
\n.text-editor-content .text-editor-placeholder {color:#93a0b1;}
\n.text-editor-toolbar {backgroundColor:var(--light-gray);}
\n.text-editor-toolbar {borderBottom:1px solid #e0e3e6;borderTopLeftRadius:10px;borderTopRightRadius:10px;}
\n.text-editor-toolbar::after {display:none;}','','1759919223','1759914022','2','69','0','2');
INSERT INTO `t6_css` VALUES('70','ori','title','css','.title-bottom-line {position:relative;marginTop:30px;marginBottom:25px;}
\n.title-bottom-line::after {content:"";position:absolute;backgroundColor:var(--f7-list-outline-border-color);display:block;zIndex:15;right:auto;bottom:-7px;left:0;height:1px;width:100%;transformOrigin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)));}','','1759919054','1759914273','2','70','0','2');
INSERT INTO `t6_css` VALUES('71','ori','calendar','css','.calendar .toolbar .toolbar-inner .center {fontWeight:500;}
\n.calendar-day-number {fontWeight:500;}','','1759923878','1759915100','2','71','0','2');
INSERT INTO `t6_css` VALUES('72','ori','swipeout','css','.swipeout-actions-left>a {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-left>button {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-left>div {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-left>span {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-right>a {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-right>button {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-right>div {fontWeight:500;fontSize:15px;}
\n.swipeout-actions-right>span {fontWeight:500;fontSize:15px;}','','1759923462','1759923453','2','72','0','2');
INSERT INTO `t6_css` VALUES('73','ori','simple_list','css','.simple-list .item-inner {paddingRight:0;}
\n.simple-list .item-inner::after {display:none;}
\n.simple-list ul li {fontWeight:500;color:var(--title-color);fontSize:15px;}
\n.simple-list ul li {minHeight:50px;}
\nhtml[dir=rtl] .simple-list .item-inner {paddingLeft:0;}','','1759924310','1759924285','2','73','0','2');
INSERT INTO `t6_css` VALUES('74','ori','section_title','css','.section-title .left i {fontSize:16px;}
\n.section-title a {fontWeight:500;fontSize:15px;color:var(--f7-theme-color);}
\n.section-title {marginTop:25px;marginBottom:0;display:flex;alignItems:center;justifyContent:space-between;color:var(--title-color);fontSize:18px;fontWeight:600;}','','1759924355','1759924339','2','74','0','2');
INSERT INTO `t6_css` VALUES('75','ori','detailed_list','css','.detailed-list .item-after {fontSize:14px;}
\n.detailed-list .item-content {paddingLeft:15px;}
\n.detailed-list .item-footer {lineHeight:16px;overflow:hidden;whiteSpace:nowrap;textOverflow:ellipsis;fontSize:14px;marginTop:4px;color:var(--text-color);paddingRight:5px;}
\n.detailed-list .item-link .item-inner {paddingRight:15px;marginLeft:15px;}
\n.detailed-list .item-link .item-inner:before {display:none;}
\n.detailed-list .item-media img {width:50px;borderRadius:50%;}
\n.detailed-list .item-media img.event-thumbnail {borderRadius:17px;}
\n.detailed-list .item-name {color:var(--title-color);fontWeight:500;}
\n.detailed-list .item-name {fontSize:15px;}
\n.detailed-list .item-unread {color:var(--title-color);fontWeight:500;}
\n.detailed-list {marginTop:10px;}
\nhtml[dir=rtl] .detailed-list .item-content {paddingLeft:0;}
\nhtml[dir=rtl] .detailed-list .item-link .item-inner {paddingRight:0;paddingLeft:15px;marginLeft:0;}','','1759924420','1759924388','2','75','0','2');
INSERT INTO `t6_css` VALUES('76','ori','aaa','css','p .icon-radio {marginRight:1px;}
\np {color:var(--text-color);}
\np {lineHeight:1.8em;fontSize:15px;}
\np.row .button {marginTop:0;marginBottom:0;}','','1759927038','1759924625','2','76','0','2');
INSERT INTO `t6_css` VALUES('77','ori','tabber','css','.tabbar a {color:#8896b8;}
\n.tabbar-icons .tabbar-label {fontSize:10px;}
\n.tabbar-icons a {color:#8896b8;}','','1759924665','1759924657','2','77','0','2');
INSERT INTO `t6_css` VALUES('78','ori','range_slider','css','.range-slider-title-value .range-value {color:var(--title-color);fontWeight:500;fontSize:15px;}
\n.range-slider-title-value {display:flex;justifyContent:space-between;alignItems:center;}
\n.range-slider-with-icons {width:100%;margin:0 16px;}','','1759924714','1759924704','2','78','0','2');
INSERT INTO `t6_css` VALUES('79','ori','link','css','.link-chevron::before {fontFamily:framework7-core-icons;fontStyle:normal;letterSpacing:normal;textTransform:none;whiteSpace:nowrap;wordWrap:normal;direction:ltr;WebkitFontSmoothing:antialiased;MozOsxFontSmoothing:grayscale;fontFeatureSettings:"liga";textAlign:center;display:block;fontSize:Array;position:absolute;top:50%;width:8px;height:14px;marginTop:-7px;lineHeight:14px;pointerEvents:none;right:calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));content:var(--f7-list-chevron-icon-right);}
\n.link-chevron::before {fontWeight:400;color:var(--title-color);}
\n.link-chevron::before {textRendering:optimizeLegibility;}
\n.links-list a {fontWeight:500;color:var(--title-color);fontSize:15px;}
\n.links-list ul li a {minHeight:50px;}
\nhtml[dir=rtl] .link-chevron::before {display:none;}','','1759924781','1759924755','2','79','0','2');
INSERT INTO `t6_css` VALUES('80','ori','info_block','css','.dark .info-block p {color:#7f91a7;}
\n.dark .info-block-icon {backgroundColor:var(--background-color);color:#8191a6;}
\n.info-block p {fontSize:15px;color:#708197;margin:0;}
\n.info-block {backgroundColor:var(--light-gray);padding:15px 20px;borderRadius:15px;marginTop:20px;position:relative;}
\n.info-block {marginBottom:25px;}
\n.info-block-icon i {fontSize:25px;}
\n.info-block-icon {position:absolute;top:-15px;right:-15px;backgroundColor:#fff;padding:4px;borderRadius:50%;}','','1759925159','1759925128','2','80','0','2');
INSERT INTO `t6_css` VALUES('81','ori','input','css','input[type=date] {backgroundColor:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;borderRadius:10px;color:var(--title-color);fontWeight:500;marginBottom:20px;fontSize:15px;}
\ninput[type=date] {paddingRight:10px;lineHeight:42px;}
\ninput[type=datetime-local] {backgroundColor:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;borderRadius:10px;color:var(--title-color);fontWeight:500;marginBottom:20px;fontSize:15px;}
\ninput[type=datetime-local] {paddingRight:10px;lineHeight:42px;}
\ninput[type=email] {backgroundColor:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;borderRadius:10px;color:var(--title-color);fontWeight:500;marginBottom:20px;fontSize:15px;}
\ninput[type=password] {backgroundColor:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;borderRadius:10px;color:var(--title-color);fontWeight:500;marginBottom:20px;fontSize:15px;}
\ninput[type=text] {backgroundColor:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;borderRadius:10px;color:var(--title-color);fontWeight:500;marginBottom:20px;fontSize:15px;}
\ntextarea {backgroundColor:var(--light-gray);width:100%;height:44px;padding:0 0 0 15px;borderRadius:10px;color:var(--title-color);fontWeight:500;marginBottom:20px;fontSize:15px;}
\ntextarea {paddingTop:15px;paddingBottom:15px;minHeight:100px;}','','1759926270','1759926257','2','81','0','2');
INSERT INTO `t6_css` VALUES('82','ori','icon','css','.demo-icons i {margin:10px;fontSize:30px;}
\n.demo-icons {display:grid;gridTemplateColumns:repeat(auto-fill,60px);justifyContent:space-between;gridGap:1rem;justifyItems:center;}
\n.icon-bold {fontWeight:600;}
\n.icon-tooltip {color:var(--title-color);}
\n.ios .icon-radio:after {fontSize:24px;}
\n.ios .toggle-icon:after {boxShadow:none;}
\n.ios .toggle-icon:before {backgroundColor:#e9e9ea;}
\n.ios p .icon-radio:after {fontSize:22px;}
\n.radio .icon-radio {width:24px;height:24px;border:2px solid #c7c7cc;}','','1759989879','1759926463','2','82','0','2');
INSERT INTO `t6_css` VALUES('83','m0','aa','css','.comment-infos,.page-content img,.rating-block-group{width:100%}
\n.dark .ticket-fill.ticket-image,.dark .timeline-item-inner,.ios .router-transition-backward .page-current:before,.ios .router-transition-backward .page-previous:after,.ios .router-transition-forward .page-current:after,.ios .router-transition-forward .page-next:before,.page-opacity-effect,.page-shadow-effect{background:0 0}
\n.navbar-bg,.toolbar{background-color:var(--background-color)}
\n::-webkit-scrollbar{display:none}
\n.card-footer:before,.detailed-list .item-link .item-inner:before,.navbar-bg:after,.simple-list .item-inner::after,.text-editor-toolbar::after,html[dir=rtl] .link-chevron::before{display:none}
\n.post-horizontal .post-title,.search-grid a{display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis}
\n.navbar-profile img{border-radius:50%;width:30px}
\n.navbar-arrow{padding-left:2px;width:25px}
\n.arrow-back{font-weight:400;font-size:26px;padding-right:10px;width:25px;-webkit-font-smoothing:subpixel-antialiased}
\n.navbar .title-large{height:58px}
\n.navbar .title-large-text{color:var(--title-color);padding-left:15px}
\n.ios .navbar .left a+a,.ios .navbar .right a+a,html[dir=rtl] .search-grid a:nth-child(2n){margin-left:0}
\n.navbar .icon .badge{font-size:11px;font-weight:600}
\n.toolbar{transition:background-color .4s,transform .4s}
\n.tabbar a,.tabbar-icons a{color:#8896b8}
\n.tabbar-icons .tabbar-label{font-size:10px}
\n.ios .toolbar-bottom-ios:before,.md .toolbar-bottom-md:before,.toolbar-bottom:before{background-color:#dedede;transition:background-color .4s,transform .4s}
\n.color-light-gray{--f7-button-text-color:var(--title-color);--f7-theme-color:#ecf1f5;--f7-theme-color-rgb:236,241,245;--f7-theme-color-shade:#d1dde7;--f7-theme-color-tint:#f6f8fa;--f7-badge-text-color:var(--title-color)}
\n.color-dark{--f7-theme-color:#1e2b47;--f7-theme-color-rgb:30,43,71;--f7-theme-color-shade:#121a2a;--f7-theme-color-tint:#2a3c64}
\n.button{width:100%;height:44px;text-transform:none;font-weight:500;font-size:14px;border-radius:10px;margin:10px 0}
\n.button img{width:17px;max-width:17px;max-height:17px;margin-right:7px}
\n.grid-buttons-demo,p.row .button{margin-top:0;margin-bottom:0}
\n.info-block,.list{margin-bottom:25px}
\n.links-list a,.list .item-title,.movie-distribution .item-inner .item-after,.settings-list .item-title,.simple-list ul li{font-weight:500;color:var(--title-color);font-size:15px}','','1759964318','1759932397','3','83','0','2');
INSERT INTO `t6_css` VALUES('84','m0','button','css','.button i{font-size:18px;font-weight:400}
\n
\n.button-icon-right i{margin-left:6px}
\n.button-icon-left i{margin-right:6px}
\n.button-round{border-radius:22px}','','1759932455','1759932441','3','84','0','2');
INSERT INTO `t6_css` VALUES('85','m0','list','css','.list{margin-top:15px}
\n.list li{color:var(--title-color);padding-top:0;padding-bottom:0}
\n.list .item-inner{padding-top:14px;padding-bottom:14px}
\n.links-list ul li a,.simple-list ul li{min-height:50px}
\n.simple-list .item-inner,.toggle-setting .item-after{padding-right:0}
\n.list-with-icons .item-media img{max-height:35px;max-width:35px;height:auto;width:auto;border-radius:50%}
\n.icon-list .icon{margin:0 15px}
\n.card-author-footer .card-date,.list .item-after{color:var(--text-color)}
\n.detailed-list,.section-title+.card{margin-top:10px}
\n.list-title{margin:25px 0 10px}
\n.list-title+.list{margin-top:5px}
\n.detailed-list .item-after,.login-separator,.panel .profile-header .profile-subtitle{font-size:14px}
\n.detailed-list .item-content,.toggle-setting .item-inner{padding-left:15px}
\n.detailed-list .item-link .item-inner{padding-right:15px;margin-left:15px}
\n.detailed-list .item-media img{width:50px;border-radius:50%}
\n.detailed-list .item-footer{line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;margin-top:4px;color:var(--text-color);padding-right:5px}
\n.detailed-list .item-name{font-size:15px}
\n.detailed-list .item-name .badge{margin-left:3px;padding:0 8px}
\n.detailed-list .item-media img.event-thumbnail{border-radius:17px}
\n.list .item-after.event-time{color:var(--title-color);font-weight:500;font-size:14px}
\n.list .item-media.event-icon i{font-size:35px;margin:0 5px}
\n.detailed-list .item-after .badge{height:22px;padding:0 9px;font-size:12px}','','1759967567','1759932500','3','85','0','2');
INSERT INTO `t6_css` VALUES('86','m0','color','css','.colored-icons-list a{justify-content:flex-start;padding:11px var(--f7-list-item-padding-horizontal);height:auto}
\n.colored-icon{background-color:#ebebf2;border-radius:50%;height:38px;width:38px;display:flex;align-items:center;justify-content:center;margin-right:15px;color:var(--title-color)}
\n.colored-icon .icon{font-size:19px}
\n.colored-icon.yellow{color:#e5b32d;background-color:rgba(229,179,45,.2)}
\n.colored-icon.blue{color:#0091de;background-color:rgba(0,145,222,.1)}
\n.colored-icon.green{color:#19b48e;background-color:rgba(25,180,142,.1)}
\n.colored-icon.pink{color:#e2206e;background-color:rgba(226,32,95,.1)}
\n.colored-icon.orange{color:#ee8f30;background-color:rgba(255,156,60,.16)}
\n.colored-icon.red{color:#d8422e;background-color:rgba(216,66,46,.13)}
\n.colored-icon.purple{color:#9146da;background-color:rgba(145,70,218,.15)}
\n.light-gray-title{color:#99a0a7;font-weight:500;font-size:13px;text-transform:uppercase;margin-top:30px;margin-bottom:10px}
\n.light-gray-title .badge{padding:0;margin-left:3px;margin-bottom:2px}
\n.dark .colored-icon.yellow{background-color:rgba(229,179,45,.2)}
\n.dark .colored-icon.blue{background-color:rgba(0,145,222,.25)}
\n.dark .colored-icon.green{background-color:rgba(25,180,142,.2)}
\n.dark .colored-icon.pink{background-color:rgba(226,32,95,.2)}
\n.dark .colored-icon.orange{background-color:rgba(255,156,60,.2)}
\n.dark .colored-icon.red{background-color:rgba(216,66,46,.3)}
\n.dark .colored-icon.purple{background-color:rgba(145,70,218,.3)}
\n.dark .light-gray-title{color:#8191a6}
\n.bg-color-primary{background-color:var(--f7-theme-color)!important}','','1759968610','1759932528','3','86','0','2');
INSERT INTO `t6_css` VALUES('87','m0','info-blok','css','.info-block{background-color:var(--light-gray);padding:15px 20px;border-radius:15px;margin-top:20px;position:relative}
\n.info-block p{font-size:15px;color:#708197;margin:0}
\n.info-block-icon{position:absolute;top:-15px;right:-15px;background-color:#fff;padding:4px;border-radius:50%}
\n.info-block-icon i,.simple-link-banner i,.single-post-actions{font-size:25px}
\n.information-block,.link-banner.error-message,.link-banner.success-message{background-repeat:no-repeat;background-size:cover;background-position:center}
\n.information-block.error-message,.link-banner.error-message{background-image:url("https://yui.xioyuna.com/template/img/images/pattern-error.png")}
\n
\n.information-block.success-message,.link-banner.success-message{background-image:url("https://yui.xioyuna.com/template/img/images/pattern-success.png")}
\n.information-block{background-image:url("https://yui.xioyuna.com/template/img/images/pattern-general.png");color:var(--title-color);text-align:center;padding:25px 20px 20px;margin:20px 0}
\n.information-block.success-message h2,.information-block.success-message p{color:#599c63}
\n.information-block.error-message h2,.information-block.error-message p{color:#b14b4b}
\n.information-block img{width:30%}
\n.information-block h2{font-size:30px;margin:10px 0 0}
\n.information-block p{color:var(--title-color);margin:10px 0;font-weight:500;line-height:1.5}','','1759967733','1759932565','3','87','0','2');
INSERT INTO `t6_css` VALUES('88','m0','section','css','.section-title{margin-top:25px;margin-bottom:0;display:flex;align-items:center;justify-content:space-between;color:var(--title-color);font-size:18px;font-weight:600}
\n.section-title .left i{font-size:16px}
\n.section-title a{font-weight:500;font-size:15px;color:var(--f7-theme-color)}','','1759964381','1759932604','3','88','0','2');
INSERT INTO `t6_css` VALUES('89','m0','post','css','.post-list{margin:10px 0 20px}
\n.post-list .post-horizontal{margin-bottom:10px;align-items:normal}
\n.post-horizontal{display:flex;padding:15px 15px 15px 17px;border-radius:15px;justify-content:space-between}
\n.post-horizontal .post-image{margin-left:10px;line-height:0}
\n.post-horizontal .post-image img{object-fit:cover;border-radius:15px;min-width:84px;max-width:84px;height:84px}
\n.post-horizontal .post-title{color:var(--title-color);font-weight:500;line-height:22px;font-size:14px;margin:2px 0 11px;overflow:hidden;-webkit-line-clamp:2}
\n.post-horizontal .post-category,.post-horizontal .post-date,.stock-item-name{color:var(--text-color);font-size:14px}
\n.post-horizontal .post-date{line-height:0}','','1759964408','1759932623','3','89','0','2');
INSERT INTO `t6_css` VALUES('90','m0','badge','css','.badge{padding:0 6px;font-size:13px;font-weight:500;line-height:20px}
\ni .badge{padding:0 4px;font-size:10px}
\n.badge-with-icon{height:24px;padding:0 10px 0 6px}
\n.badge-with-icon i{font-size:17px!important;margin-right:3px}
\n.badge-with-image{padding-left:0;height:24px;font-weight:500;font-size:14px;padding-right:8px}
\n.badge-with-image img{height:24px;width:auto;border-radius:12px;margin-right:6px}
\n.verified-badge{margin-left:2px;font-size:19px}','','1759967014','1759932642','3','90','0','2');
INSERT INTO `t6_css` VALUES('91','m0','checkbox','css','.ios .checkbox i:after,.ios .icon-checkbox:after{font-size:20px;font-weight:600}
\n.checkbox.checkbox-inline{margin-right:5px}
\n.checkbox-rounded .checkbox i,.checkbox-rounded .icon-checkbox,.notification-image{border-radius:50%}
\n.checkbox i,.icon-checkbox{border-radius:5px;border:2px solid #c7c7cc}
\n.checkbox i:after,.icon-checkbox:after{top:-2px;left:-2px}','','1759964503','1759933755','3','91','0','2');
INSERT INTO `t6_css` VALUES('92','m0','grid','css','.grid{margin:10px 0}
\n.grid-demo>*{padding:20px 0;font-weight:500;color:var(--title-color);background-color:var(--light-gray);border-radius:6px;text-align:center}
\n.grid-demo{margin:15px 0}
\n.grid-buttons-demo .button{margin-bottom:0;margin-top:0}
\n.grid-no-margin,swiper-slide .card{margin:0}','','1759964533','1759933817','3','92','0','2');
INSERT INTO `t6_css` VALUES('93','m0','icon','css','.icon-bold,.movie-block-text{font-weight:600}
\n.demo-icons{display:grid;grid-template-columns:repeat(auto-fill,60px);justify-content:space-between;grid-gap:1rem;justify-items:center}
\n.demo-icons i{margin:10px;font-size:30px}
\n.infinite-scroll-demo .post-horizontal .post-image{border-radius:15px;min-width:84px;max-width:84px;height:84px;background-color:var(--title-color);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:30px}
\n.popover-inner .block{margin:20px 0;padding:0 20px}
\n.preloader-big{height:40px;width:40px}
\n.panel-backdrop{background-color:rgba(0,0,0,.3)}
\n.centered-text,.preloader-demo>div{text-align:center}
\n.progressbar,.progressbar-infinite{margin:20px 0;height:8px;background-color:var(--light-gray)}
\n.ios .icon-radio:after{font-size:24px}
\n.radio .icon-radio{width:24px;height:24px;border:2px solid #c7c7cc}
\np .icon-radio{margin-right:1px}
\n.dark .card,.ios .toggle-icon:after{box-shadow:none}
\n.ios .toggle-icon:before{background-color:#e9e9ea}','','1759965604','1759964590','3','93','0','2');
INSERT INTO `t6_css` VALUES('94','m0','popup','css','.popup-demo{padding-top:0;padding-bottom:0;display:flex;flex-direction:column}
\n.popup-demo img{width:80%;margin-top:40px}
\n.popup-content{margin-top:10px;flex:1;text-align:center}
\n.popup-demo .button{margin-bottom:25px;min-height:44px}
\n.popup-demo .swipe-down-text{margin-bottom:25px;text-align:center;font-size:18px;font-weight:500}','','1759964660','1759964651','3','94','0','2');
INSERT INTO `t6_css` VALUES('95','m0','link-banner','css','.link-banner.bg-color-dark,.link-banner.bg-color-dark .link-banner-text,.link-banner.bg-color-dark i,.link-banner.bg-color-dark.link-chevron::before,.link-banner.bg-color-primary,.link-banner.bg-color-primary .link-banner-text,.link-banner.bg-color-primary i,.link-banner.bg-color-primary.link-chevron::before,.navbar-photo-browser .right .link i,.navbar-photo-browser .right .link svg,.photo-browser-page .navbar .title,.segmented.segmented-strong .button.tab-link-active,html[dir=rtl] .dark .segmented.segmented-strong .button.tab-link-active,html[dir=rtl] .segmented.segmented-strong .button{color:#fff}
\n.link-banner.bg-color-dark,.stepper.color-light-gray .stepper-button-minus::after,.stepper.color-light-gray .stepper-button-plus::after,.stepper.color-light-gray .stepper-button-plus::before{background-color:var(--title-color)}
\n.create-post-cover,.link-banner,.profile-image,.settings-image{position:relative}
\n.category-slide,.contact-block,.create-post-cover,.link-banner,.movie-block,.profile-buttons .contact-button{background-color:var(--light-gray)}
\n.link-banner{padding:15px 15px 15px 20px;margin:15px 0;font-weight:500;font-size:15px;display:flex;align-items:center;justify-content:flex-start;color:var(--title-color);overflow:hidden}
\n.link-banner i,.link-banner-subtitle,.link-chevron::before{font-weight:400;color:var(--title-color)}
\n.link-banner i{margin-right:10px;font-size:35px}
\n.link-banner-text{color:var(--title-color);margin-left:10px}
\n.link-banner-subtitle{font-size:14px;margin-top:2px;opacity:.7}
\n.link-banner img{margin-right:10px;max-height:40px;width:auto}
\n.link-banner.bg-color-dark .link-banner-subtitle,.link-banner.bg-color-primary .link-banner-subtitle{color:#fff;opacity:.8}
\n.link-banner.error-message .link-banner-subtitle,.link-banner.error-message .link-banner-title,.link-banner.error-message i,.link-banner.error-message.link-chevron::before{color:#9b3d3d}
\n.link-banner.success-message .link-banner-subtitle,.link-banner.success-message .link-banner-title,.link-banner.success-message i,.link-banner.success-message.link-chevron::before{color:#508d59}
\n.simple-link-banner .link-banner-text{font-size:15px;margin-left:2px}','','1759967593','1759964700','3','95','0','2');
INSERT INTO `t6_css` VALUES('96','m0','card','css','.card-author-footer .card-footer-right i,.ios p .icon-radio:after,.rating-block-detailed .rating-block-stars i{font-size:22px}
\n.card-author-footer .card-author,.list.accordion-list .item-title,.range-slider-title-value .range-value,.signup-have-account{color:var(--title-color);font-weight:500;font-size:15px}
\n.card.card-album,.single-cover-image,.single-post-content img,.stepper-button-minus:first-child,.stepper-button-minus:last-child,.stepper-button-plus:first-child,.stepper-button-plus:last-child,.stepper-button:first-child,.stepper-button:last-child{border-radius:8px}
\n.card{background:0 0;border-radius:18px;overflow:hidden;margin:20px 0;display:block}
\n.card-image{border-radius:0;display:block;min-height:auto;padding:0;line-height:0;position:relative}
\n.card-image:has(.card-image-footer) img{object-fit:cover;aspect-ratio:16/10}
\n.card-image:has(~ .card-author-footer) img{aspect-ratio:16/9}
\n.card-image-footer{position:absolute;bottom:0;padding:60px 18px 15px;background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgb(24 24 24 / 95%) 100%);color:#fff;width:100%;box-sizing:border-box;line-height:var(--f7-line-height)}
\n.card-image-footer h2{margin:0;font-size:19px;line-height:24px;font-weight:500;color:#fff}
\n.card .card-category{display:inline-block;font-size:13px;font-weight:500;padding:2px 8px;margin-bottom:10px;border-radius:5px}
\n.card .card-author,.comment-author,.comment-header-left{display:flex;align-items:center}
\n.card .card-author span,.ticket-fill:active{opacity:.9}
\n.card .card-author img{width:20px;height:20px;border-radius:50%;margin-right:8px}
\n.card-author-footer{display:flex;align-items:center;justify-content:flex-start;padding:12px 16px}
\n.card-author-footer .author-image{width:35px;border-radius:50%;height:auto}
\n.card-author-footer .card-footer-middle{margin-left:12px}
\n.card-author-footer .card-footer-right{font-size:13px;font-weight:500;color:var(--text-color);margin-left:auto}
\n.card-big-footer{display:block;padding:20px}
\n.card-big-footer h2{margin:0 0 -5px;font-size:20px;line-height:1.5}
\n.card-big-footer .button{margin-bottom:0;margin-top:15px}
\n.card-big-footer .button i,.onboarding-next-button i{margin-left:5px;font-weight:600}','','1759965780','1759965324','3','96','0','2');
INSERT INTO `t6_css` VALUES('97','m0','slider','css','.range-slider-with-icons{width:100%;margin:0 16px}
\n.range-slider-title-value{display:flex;justify-content:space-between;align-items:center}
\n.authors-slider swiper-slide,.categories-slider swiper-slide,.toast-button.button{width:auto}','','1759965380','1759965372','3','97','0','2');
INSERT INTO `t6_css` VALUES('98','m0','sheet','css','.sheet-modal[data-swipe-to-close=true] .sheet-modal-inner::before{content:"";width:40px;height:6px;position:absolute;left:50%;top:8px;margin-left:-20px;border-radius:3px;background:#666;cursor:pointer;z-index:15}
\n.sheet-modal{height:32vh}
\n.sheet-modal[data-swipe-to-close=true]{border-top-right-radius:20px;border-top-left-radius:20px;height:auto;max-height:70vh}
\n.sheet-modal .page-content{padding:0 20px 20px}
\n.sheet-modal[data-swipe-to-close=true] .page-content{padding-top:20px}
\n.sheet-modal::before{display:none!important}','','1759965403','1759965393','3','98','0','2');
INSERT INTO `t6_css` VALUES('99','m0','stepper','css','.stepper .stepper-input-wrap input{background-color:transparent;padding:0;border-radius:0;color:var(--title-color);width:40px}
\n.stepper-input-wrap,.stepper-value{border:none}
\n.stepper-button,.stepper-button-minus,.stepper-button-plus{width:28px}
\n.stepper-button-minus:after,.stepper-button-plus:after{width:12px}
\n.stepper-button-plus:before{height:12px}','','1759965464','1759965438','3','99','0','2');
INSERT INTO `t6_css` VALUES('100','m0','segmented','css','.segmented.segmented-strong,.text-editor,.text-editor-toolbar{background-color:var(--light-gray)}
\n.segmented.segmented-strong .button{margin:0;border-radius:12px}
\n.segmented.segmented-strong{border-radius:15px}
\n.segmented-strong .segmented-highlight{box-shadow:none;background-color:var(--title-color);border-radius:12px}
\n.segmented-strong{--f7-segmented-strong-padding:3px}
\n.segmented.segmented-strong .button.active-state{background-color:transparent}','','1759968371','1759965495','3','100','0','2');
INSERT INTO `t6_css` VALUES('101','m0','comment','css','.comment-infos .author-name,.single-post-author .author-name,.swipeout-actions-left>a,.swipeout-actions-left>button,.swipeout-actions-left>div,.swipeout-actions-left>span,.swipeout-actions-right>a,.swipeout-actions-right>button,.swipeout-actions-right>div,.swipeout-actions-right>span{font-weight:500;font-size:15px}
\n.comment-date,.comment-text{font-size:15px;color:var(--text-color)}
\n.comment-list{margin-top:30px}
\n.comment{display:flex;margin:20px 0}
\n.comment>img{width:45px;height:45px;border-radius:50%;margin-right:13px}
\n.comment-date{margin-left:6px;opacity:.8}
\n.comment-text{line-height:1.55em;margin-top:2px}
\n.comment-count{margin-bottom:2px;margin-left:2px}
\n.comment-header{display:flex;justify-content:space-between;width:100%}
\n.comment-reply{margin-left:60px}
\n.comment-header i{color:var(--title-color);font-size:18px;width:10px;font-weight:600}','','1759967160','1759965520','3','101','0','2');
INSERT INTO `t6_css` VALUES('102','m0','text-editor','css','.text-editor{margin-right:0;margin-left:0;border-radius:10px;border:1px solid #e0e3e6;margin-top:0}
\n.text-editor-content .text-editor-placeholder{color:#93a0b1}
\n.text-editor-toolbar{border-bottom:1px solid #e0e3e6;border-top-left-radius:10px;border-top-right-radius:10px}','','1759965555','1759965543','3','102','0','2');
INSERT INTO `t6_css` VALUES('103','m0','accordion','css','.accordion-item-content{padding:0 20px}
\n.accordion-item-content p{font-size:15px;margin:0 0 5px}','','1759965676','1759965661','3','103','0','2');
INSERT INTO `t6_css` VALUES('104','m0','swiper','css','swiper-slide .card.card-with-footer{margin-bottom:10px}
\nswiper-container{margin-top:10px;margin-bottom:-20px;padding-bottom:20px}','','1759965857','1759965849','3','104','0','2');
INSERT INTO `t6_css` VALUES('105','m0','album','css','.album-grid a:last-child,.album-grid a:nth-last-child(2),.movie-block:last-child,form h1{margin-bottom:0}
\n.album-tracklist .item-inner .item-title,.detailed-list .item-name,.detailed-list .item-unread{color:var(--title-color);font-weight:500}
\n.album-grid img,.search-grid a:nth-child(odd){margin-right:10px}
\n.album-grid a{display:flex;align-items:center;justify-content:flex-start;border-bottom:none!important;margin-bottom:20px}
\n.album-grid img{width:55px;border-radius:6px}
\n.album-details{width:calc(100% - 70px)}
\n.album-grid a:nth-child(2n) .album-details{width:calc(100% - 63px)}
\n.album-title{font-size:15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
\n.album-author{line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;margin-top:4px;color:var(--text-color)}
\n.card.card-album .card-image img{aspect-ratio:1/1;object-fit:cover}
\n.album-header{display:flex;flex-direction:column;align-items:center;justify-content:center}
\n.album-header .album-cover{width:80%;border-radius:10px}
\n.album-header .album-title{font-weight:600;font-size:26px;margin-top:20px}
\n.album-header .album-artist{font-weight:400;font-size:16px;color:var(--text-color);margin-bottom:20px}
\n.album-stats{margin-bottom:40px}','','1759968490','1759965929','3','105','0','2');
INSERT INTO `t6_css` VALUES('106','m0','rating','css','.rating-block{display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:40px 25px}
\n.rating-block-note{font-weight:500;font-size:30px;margin:20px 0}
\n.rating-block-text{text-align:center;color:var(--text-color)}
\n.rating-block-detailed{display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 0}
\n.rating-block-total{display:flex;justify-content:space-between;align-items:center;background-color:#f5f9ff;border-radius:50px;padding:10px 15px}
\n.rating-block-total-text{font-weight:500;margin-top:2px;margin-left:5px}
\n.rating-block-count{font-size:14px;margin-top:10px;color:var(--text-color);margin-bottom:15px}
\n.rating-block-individual{display:flex;align-items:center;margin:15px 0}
\n.rating-block-individual:first-child{margin-top:0}
\n.rating-block-star{display:flex;align-items:center;justify-content:flex-end;font-weight:500;width:40px}
\n.rating-block-star i{font-size:18px;margin-left:3px}
\n.rating-block-bar{margin:0 10px}
\n.rating-block-percentage{font-weight:500;width:44px}
\n.rating-bg{background-color:#f5f9ff;border-radius:15px}','','1759965977','1759965952','3','106','0','2');
INSERT INTO `t6_css` VALUES('107','m0','ticket','css','.ticket,.ticket-fill{position:relative;height:140px;box-sizing:border-box;margin-bottom:20px;border-radius:15px;display:flex}
\n.ticket{width:100%;font-size:15px;background-size:50% 100%;background-repeat:no-repeat;background-image:radial-gradient(circle at 0 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0),radial-gradient(circle at 100% 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0);background-position:top left,top right;overflow:hidden;padding:20px 30px;align-items:center;justify-content:space-between}
\n.ticket-infos{flex:1;flex-basis:50%;padding-left:5px}
\n.ticket-image{flex:1;flex-basis:50%}
\n.ticket-discount{font-size:40px;font-weight:600;color:var(--title-color)}
\n.ticket-text{text-transform:uppercase;font-weight:600;font-size:14px}
\n.ticket-description{font-weight:500;font-size:14px}
\n.ticket:active{opacity:.5}
\n.ticket-fill{width:100%;font-size:15px;background:linear-gradient(90deg,#15161b,#14142d);flex-direction:column;align-items:flex-start;justify-content:center;padding:20px 30px}
\n.ticket-fill::after,.ticket-fill::before{content:"";width:22px;height:11px;background-color:#fff;border-radius:10rem 10rem 0 0;position:absolute;top:75px;z-index:10}
\n.ticket-fill::before{left:-6px;transform:rotate(90deg)}
\n.ticket-fill::after{right:-6px;transform:rotate(270deg)}
\n.ticket-fill .ticket-description,.ticket-fill .ticket-discount{color:#fff;font-weight:500;z-index:10}
\n.ticket-background-icon{position:absolute;right:40px;color:rgba(255,255,255,.1)}
\n.ticket-background-icon i{font-size:110px}
\n.ticket-image-bg{width:100%;height:100%;position:absolute;left:0;top:0;z-index:1;object-fit:cover;border-radius:15px}
\n.ticket-image-bg+.ticket-text{z-index:10;color:#fff}','','1759966063','1759966034','3','107','0','2');
INSERT INTO `t6_css` VALUES('108','m0','timeline','css','.timeline{padding:0}
\n.timeline-item-text{color:var(--text-color);margin-top:5px;line-height:1.8em}
\n.calendar .toolbar .toolbar-inner .center,.calendar-day-number,.timeline-item-date{font-weight:500}
\n.timeline-item-divider:after,.timeline-item-divider:before{width:1px;opacity:.2;background:#41454b}
\n.timeline-item-divider{background:var(--title-color)}
\n.timeline-item-content{margin-top:-4px;margin-bottom:5px}
\n.timeline-item-inner{padding-top:0}
\n.timeline-item-text img{border-radius:10px}','','1759966155','1759966112','3','108','0','2');
INSERT INTO `t6_css` VALUES('109','m0','signin','css','.signin-image,.signup-image{display:flex;align-items:center;justify-content:center}
\n.signup-image img{width:85%}
\n.signin-image img{width:90%}
\n.signup-tos{font-size:13px}
\n.signup-tos a{color:var(--text-color);text-decoration:underline}
\n.signin-links{font-weight:500;font-size:15px;display:flex;align-items:center;justify-content:space-between}
\n.google-button{background-color:#eff7e5}','','1759966292','1759966169','3','109','0','2');
INSERT INTO `t6_css` VALUES('110','m0','message','css','.messagebar textarea,.single-post-author,.single-post-category{background-color:var(--light-gray)}
\n.message-list.detailed-list .item-after .badge{padding:0 6px;min-width:22px}
\n.messagebar textarea{min-height:auto;border:none;margin-bottom:0;font-weight:400;font-size:15px}
\n.ios .message-received{margin-left:15px}
\n.ios .message-sent{margin-right:15px}
\n.messagebar .send-link i{transform:rotate(45deg);margin-left:-6px;margin-right:3px}
\n.ios .message+.message:not(.message-first){margin-top:2px}
\n.messages-date{font-size:14px;margin:15px 0 5px;color:var(--text-color);text-align:center;width:100%;line-height:1}
\n.ios .message-sent .message-bubble{padding:8px 20px 8px 13px}
\n.ios .message-received .message-bubble{padding:8px 13px 8px 20px}
\n.messagebar .toolbar-inner{padding-bottom:3px}
\n.faq-list .list.accordion-list .item-title,.message-bubble{font-size:15px}','','1759967034','1759966491','3','110','0','2');
INSERT INTO `t6_css` VALUES('111','m0','search','css','.searchbar-inner{padding:0 15px}
\n.searchbar-backdrop.searchbar-backdrop-in{opacity:0}
\n.searchbar.searchbar-inline{margin-top:10px;margin-bottom:-5px}
\n.searchbar.searchbar-inline .searchbar-input-wrap{height:40px}
\n.authors-slider,.searchbar-help-center.searchbar-inline{margin-top:20px}
\n.searchbar-search-page.searchbar-inline{margin-top:10px;margin-bottom:20px}
\n.search-grid a{font-size:15px;border-top:1px solid #e2e3e5;text-align:left;margin-top:12px;padding-top:12px;overflow:hidden;-webkit-line-clamp:1}
\n.search-grid a:first-child,.search-grid a:nth-child(2){border-top:none;margin-top:5px;padding-top:0}
\n.search-grid a:nth-child(2n){margin-left:10px}
\n.search-grid a i{font-size:20px;margin-right:6px}','','1759968212','1759966603','3','111','0','2');
INSERT INTO `t6_css` VALUES('112','m0','page','css','.page[data-name=chat] .page-content{padding-bottom:calc(var(--f7-page-toolbar-bottom-offset,0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom,0px))}','','1759966931','1759966922','3','112','0','2');
INSERT INTO `t6_css` VALUES('113','m0','single-post','css','.single-post-date{color:var(--text-color);font-size:16px;margin-top:10px}
\n.single-post-title{margin-top:10px;margin-bottom:15px;font-size:28px}
\n.single-post-category{padding:4px 10px;height:auto;border-radius:6px;color:var(--title-color);font-size:14px;font-weight:500;margin-right:5px;display:inline-block;margin-top:15px}
\n.single-post-author{display:flex;align-items:center;padding:15px;border-radius:15px;margin:20px 0}
\n.single-post-author>img{width:55px;border-radius:50%;margin-right:12px}
\n.single-post-author .author-details{display:flex;flex-direction:column;justify-content:center}
\n.single-post-author .author-description{color:var(--text-color);margin-top:2px;font-size:13px}
\n.single-post-author .author-follow{width:auto;margin-left:auto;padding:0 15px 0 11px;height:38px}','','1759966965','1759966947','3','113','0','2');
INSERT INTO `t6_css` VALUES('114','m0','title-bottom','css','.title-bottom-line{position:relative;margin-top:30px;margin-bottom:25px}
\n.title-bottom-line::after{content:"";position:absolute;background-color:var(--f7-list-outline-border-color);display:block;z-index:15;right:auto;bottom:-7px;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}','','1759967111','1759967099','3','114','0','2');
INSERT INTO `t6_css` VALUES('115','m0','create-post','css','.casting .grid,.create-post-cover{margin-bottom:20px}
\n.create-post-cover{height:25vh;border-radius:10px;width:100%;display:flex;align-items:center;flex-direction:column;justify-content:center;font-size:14px;color:#93a0b1}
\n.create-post-cover i{margin-bottom:5px}
\n.create-post-cover input[type=file]{background-color:red;position:absolute;width:95%;height:90%;opacity:0;z-index:99;cursor:pointer}','','1759967273','1759967208','3','115','0','2');
INSERT INTO `t6_css` VALUES('116','m0','navbar','css','.navbar-transparent .navbar-inner .left a i{color:#fff;transition:color 00s;text-shadow:0 0 11px #000}
\n.navbar-transparent.navbar-transparent-visible .navbar-inner .left a i{color:#000;transition:color;text-shadow:none}','','1759967319','1759967310','3','116','0','2');
INSERT INTO `t6_css` VALUES('117','m0','movie','css','.movie-header{display:flex;justify-content:space-between;margin-bottom:30px}
\n.link-banner-text,.movie-block{display:flex;flex-direction:column}
\n.page-content .movie-cover{width:calc(70vw - 30px);border-radius:25px;max-height:342px;object-fit:cover}
\n.movie-infos{width:100%;margin-left:15px}
\n.movie-block{color:var(--title-color);align-items:center;justify-content:center;border-radius:20px;margin-bottom:15px;padding:19px 0}
\n.card-movie,.help-center-banner,.information-block,.link-banner{border-radius:15px}
\n.movie-block i{font-size:20px}
\n.movie-block-name{margin:5px 0 1px;color:#708197;font-weight:400}
\n.casting .grid>div{display:flex;align-items:center;flex-direction:column;justify-content:flex-start}
\nimg.actor-image{border-radius:50%;width:60px;margin-bottom:10px}
\n.actor-firstname,.actor-lastname{text-align:center;line-height:1.4em;color:var(--title-color);font-weight:500;font-size:13px}
\n.movie-rating{padding-top:0;padding-bottom:0;margin-bottom:-15px}
\n.movie-distribution.list .item-title{font-weight:400;color:var(--text-color)}
\n.card-movie-rating{position:absolute;right:8px;bottom:8px;background-color:#fff;padding:4px 8px 2px 6px;border-radius:20px;font-size:12px}
\n.card-movie-rating i{font-size:12px;margin-bottom:3px}
\n.card-movie .card-image img{aspect-ratio:9/13;object-fit:cover}','','1759968398','1759967335','3','117','0','2');
INSERT INTO `t6_css` VALUES('118','m0','help','css','.help-center-title{margin-top:20px;margin-bottom:-5px;font-size:2em}
\n.help-center-links,.profile-stats,.search-grid{margin-bottom:30px}','','1759967679','1759967671','3','118','0','2');
INSERT INTO `t6_css` VALUES('119','m0','stock','css','.author-slide,.stock-item-details{flex-direction:column;display:flex}
\n.stock-item{display:flex;padding:13px 15px;border-radius:13px;margin-bottom:8px}
\n.stock-item img{width:40px;margin-right:15px}
\n.stock-item-details{width:100%}
\n.stock-item-bottom,.stock-item-top{display:flex;justify-content:space-between}
\n.stock-item-top{margin-bottom:3px}
\n.stock-item-title,.stock-item-value{font-weight:500;color:var(--title-color);font-size:15px}
\n.stock-item-change{font-size:14px;font-weight:500}','','1759967776','1759967752','3','119','0','2');
INSERT INTO `t6_css` VALUES('120','m0','author','css','.author-list .author-follow{height:35px;margin:0;color:#fff}
\n.author-slide .author-name,.category-slide,.contact-block{color:var(--title-color);font-weight:500}
\n.author-slide{width:85px}
\n.author-slide img{width:60px;border-radius:50%}
\n.author-slide .author-name{text-align:center;margin-top:7px}','','1759967861','1759967795','3','120','0','2');
INSERT INTO `t6_css` VALUES('121','m0','category','css','.category-slide{font-size:14px;line-height:21px;padding:10px 16px;display:flex;border-radius:20px}
\n.album-grid,.categories-slider{margin-top:15px}
\n.category-item,.category-item img{border-radius:15px;overflow:hidden}
\n.category-item{height:100px;position:relative}
\n.category-item img{object-fit:cover;height:100%;width:100%;filter:brightness(60%)}
\n.category-name{position:absolute;top:50%;width:100%;text-align:center;color:#fff;font-weight:600;font-size:18px;line-height:0;text-shadow:0 0 20px #000}','','1759968156','1759967833','3','121','0','2');
INSERT INTO `t6_css` VALUES('122','m0','contact','css','.contact-block{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:13px 5px 10px;border-radius:15px}
\n.contact-block i{margin:0;font-size:22px;padding-right:0;font-weight:400}
\n.contact-block .contact-method{font-size:14px;margin-top:4px}
\n.contact-input{height:150px}','','1759967974','1759967875','3','122','0','2');
INSERT INTO `t6_css` VALUES('123','m0','profile','css','.edit-profile-image,.profile-online{background-color:#0091de;display:flex}
\n.edit-profile-image{position:absolute;bottom:8px;right:8px;border-radius:50%;border:1px solid #fff;width:20px;height:20px;align-items:center;justify-content:center}
\n.edit-profile-image i{color:#fff;font-size:15px}
\n.profile-image img,.settings-image img{width:120px;border-radius:50%}
\n.profile-header{display:flex;align-items:center;flex-direction:column;margin:20px 0}
\n.profile-online{position:absolute;bottom:6px;right:15px;border-radius:50%;border:2px solid #fff;width:15px;height:15px;align-items:center;justify-content:center}
\n.profile-name{color:var(--title-color);font-weight:500;font-size:20px;margin-top:15px}
\n.profile-subtitle{color:#99a0a7;font-weight:400;font-size:15px;margin-bottom:5px}
\n.profile-buttons{display:flex;justify-content:center;margin-bottom:30px}
\n.profile-buttons .contact-button{color:var(--title-color);border-radius:15px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;margin:0 7px}
\n.profile-buttons .contact-button i{padding:0;font-size:20px}
\n.profile-buttons .author-follow{width:auto;margin:0 7px;padding:0 20px 0 15px}
\n.grid.grid-gap.album-stats,.grid.grid-gap.profile-stats{gap:0}
\n.album-stat,.profile-stat{display:flex;flex-direction:column;border-right:1px solid #e2e3e5;text-align:center}
\n.album-stat:last-child,.dark .album-stat:last-child,.dark .profile-stat:last-child,.profile-stat:last-child,html[dir=rtl] .album-stat:first-child,html[dir=rtl] .profile-stat:first-child{border-right:none}
\n.album-stat-number,.profile-stat-number{font-weight:600;font-size:20px}
\n.album-stat-title,.profile-stat-title{color:var(--text-color);font-size:15px}','','1759968190','1759967895','3','123','0','2');
INSERT INTO `t6_css` VALUES('124','m0','settings','css','.settings-header{display:flex;align-items:center;flex-direction:column;margin:25px 0 35px}
\n.settings-name{font-weight:500;font-size:15px;margin-top:20px;margin-bottom:2px}
\n.settings-email{color:#99a0a7;font-weight:400}
\n.settings-list .colored-icon{border-radius:10px;height:32px;width:32px}
\n.dark .settings-list .colored-icon.yellow,.settings-list .colored-icon.yellow{color:#fff;background-color:#ffc62b}
\n.dark .settings-list .colored-icon.blue,.settings-list .colored-icon.blue{color:#fff;background-color:#089bea}
\n.dark .settings-list .colored-icon.green,.settings-list .colored-icon.green{color:#fff;background-color:#41d359}
\n.dark .settings-list .colored-icon.pink,.settings-list .colored-icon.pink{color:#fff;background-color:#f20f6a}
\n.dark .settings-list .colored-icon.orange,.settings-list .colored-icon.orange{color:#fff;background-color:#ff9925}
\n.dark .settings-list .colored-icon.red,.settings-list .colored-icon.red{color:#fff;background-color:#ff4530}
\n.dark .settings-list .colored-icon.purple,.settings-list .colored-icon.purple{color:#fff;background-color:#9638f3}
\n.dark .settings-list .colored-icon.gray,.settings-list .colored-icon.gray{color:#fff;background-color:#878787}
\n.settings-list .item-after{padding-right:20px;font-size:15px}
\n.list .item-content.toggle-setting,html[dir=rtl] .simple-list .item-inner{padding-left:0}
\n.settings-list .item-after:has(.toggle){padding-right:0}','','1759968137','1759968029','3','124','0','2');
INSERT INTO `t6_css` VALUES('125','m0','onboarding ','css','.page-onboarding{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:calc(var(--f7-page-toolbar-bottom-offset,0px) + var(--f7-safe-area-bottom) + var(--f7-page-content-extra-padding-bottom,0px) - 20px)}
\n.navbar a.link.onboarding-skip{font-weight:500;color:var(--title-color);padding-right:8px}.swiper-onboarding swiper-slide{display:flex;align-items:center;justify-content:center;flex-direction:column}
\n.swiper-onboarding swiper-slide img{width:75%;margin-top:20px}
\n.swiper-onboarding swiper-slide .onboarding-title{font-size:40px;font-weight:600;color:var(--title-color);padding:0 30px;text-align:center;line-height:1.2;margin:20px 0 10px}
\n.swiper-onboarding swiper-slide .onboarding-subtitle{font-size:15px;padding:0 30px;text-align:center;color:var(--text-color);margin:10px 0 30px}
\n@media (max-height:885px){.swiper-onboarding swiper-slide img{width:70%}
\n.swiper-onboarding swiper-slide .onboarding-title{font-size:30px}
\n}
\n@media (max-height:770px){.swiper-onboarding swiper-slide img{width:55%}
\n.swiper-onboarding swiper-slide .onboarding-title{font-size:25px}
\n.swiper-onboarding swiper-slide .onboarding-subtitle{font-size:15px}
\n}','','1759968320','1759968271','3','125','0','2');
INSERT INTO `t6_css` VALUES('126','m0','notification','css','.notification-list .item-date-container{display:flex;justify-content:space-between;margin-bottom:3px}
\n.notification-list .item-date,.notification-list .item-time{color:#99a0a7;font-size:14px;font-weight:400}
\n.album-title,.card-movie-rating,.notification-list .item-description{color:var(--title-color);font-weight:500}
\n.notification-list .item-description{font-size:14px;white-space:normal}
\n.notification-list .item-description i{font-size:20px;margin-right:4px;line-height:.9}
\n.notification-list.detailed-list .item-media img{width:50px}
\n.notification-list.list .item-inner{padding-top:10px;padding-bottom:10px}','','1759968345','1759968336','3','126','0','2');
INSERT INTO `t6_css` VALUES('127','m0','panel','css','.panel-links a{justify-content:flex-start}
\n.panel-links a i{margin-right:15px;font-size:23px}
\n.panel .profile-header{margin-bottom:40px;margin-top:40px}
\n.panel .profile-header .profile-image img{width:90px}
\n.panel .profile-header .profile-image .profile-online{bottom:7px;right:7px;width:12px;height:12px}
\n.panel .profile-header .profile-name{font-size:19px;margin-top:5px}
\n.panel-logout{position:absolute;bottom:20px;width:100%;text-align:center;font-weight:500}
\n.panel-logout i{font-size:25px;margin-left:5px}','','1759968467','1759968458','3','127','0','2');
INSERT INTO `t6_css` VALUES('128','m0','dark ','css','.dark .toolbar-bottom:before,.ios .dark .toolbar-bottom-ios:before,.md .dark .toolbar-bottom-md:before{background-color:rgba(255,255,255,.15)}
\n.dark .info-block-icon{background-color:var(--background-color);color:#8191a6}
\n.dark .info-block p{color:#7f91a7}
\n.dark .button.color-dark{background-color:#0ee9b3;color:#181c22}
\n.dark .badge.color-black,.dark .badge.color-light-gray,.dark .card .card-category.bg-color-white{color:var(--background-color)}
\n.dark .button.color-light-gray{background-color:#102733}
\n.dark .post-horizontal{box-shadow:none;background-color:var(--light-gray)}
\n.dark .infinite-scroll-demo .post-horizontal .post-image{background-color:var(--text-color)}
\n.dark .notification,.dark .sheet-modal{background:var(--light-gray)}
\n.dark .segmented.segmented-strong .button.tab-link-active{color:#181c22}
\n.dark .text-editor{border:1px solid #363d43}
\n.dark .text-editor-toolbar{border-bottom:1px solid #363d43}
\n.dark .card-image-footer{background-image:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgb(24 24 24 / 80%) 100%)}
\n.dark .card-movie-rating{background-color:var(--background-color);color:#fff}
\n.dark .badge.color-black{background-color:#fff}
\n.dark .post-horizontal .post-category{color:#0ee9b3}
\n.dark .stock-item{background-color:var(--light-gray);box-shadow:none}
\n.dark .ticket-fill{background:#0ee9b3}
\n.dark .ticket-fill:not(.ticket-image) .ticket-description,.dark .ticket-fill:not(.ticket-image) .ticket-discount,.dark .ticket-fill:not(.ticket-image) .ticket-text,.dark .ticket-fill:not(.ticket-image) i{color:#000!important}
\n.dark .ticket{background-image:radial-gradient(circle at 0 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0),radial-gradient(circle at 100% 50%,rgba(0,0,0,0) .7em,var(--light-gray) 0)}
\n.dark .timeline-item-divider:after,.dark .timeline-item-divider:before{background:#fff}
\n.dark .information-block:not(.success-message,.error-message) h2,.dark .information-block:not(.success-message,.error-message) p,html[dir=rtl] .dark .segmented.segmented-strong .button{color:#1e2b47}
\n.dark .link-banner.dark-theme-green{background-color:#0ee9b3}
\n.dark .link-banner.dark-theme-green .link-banner-subtitle,.dark .link-banner.dark-theme-green .link-banner-title,.dark .link-banner.dark-theme-green i,.dark .link-banner.dark-theme-green.link-chevron::before{color:#000}
\n.dark .link-banner.bg-color-dark{background-color:var(--light-gray)!important}
\n.dark .category-item img{filter:brightness(70%)}
\n.dark .album-stat,.dark .profile-stat{border-right:1px solid #2d3d4a}
\n.dark .profile-online{border:2px solid var(--background-color)}
\n.dark .edit-profile-image{border:1px solid var(--background-color)}
\n.dark .search-grid a{border-top:1px solid #2d3d4a}
\n.dark .search-grid a:first-child,.dark .search-grid a:nth-child(2){border-top:none}
\n.dark .panel .profile-header .profile-image .profile-online{border:2px solid var(--light-gray)}','','1759970995','1759968563','3','128','0','2');
INSERT INTO `t6_css` VALUES('129','m0','html','css','html[dir=rtl] .album-grid img,html[dir=rtl] .colored-icon,html[dir=rtl] .link-banner i,html[dir=rtl] .link-banner img{margin-right:0;margin-left:10px}
\nhtml[dir=rtl] .detailed-list .item-link .item-inner{padding-right:0;padding-left:15px;margin-left:0}
\nhtml[dir=rtl] .post-horizontal .post-image{margin-left:0;margin-right:10px}
\nhtml[dir=rtl] .button-icon-left i,html[dir=rtl] .checkbox.checkbox-inline{margin-right:0;margin-left:5px}
\nhtml[dir=rtl] .navbar a .arrow-back{transform:rotate(180deg);padding-right:0;padding-left:3px}
\nhtml[dir=rtl] input[type=email],html[dir=rtl] input[type=password],html[dir=rtl] input[type=text]{padding:0 15px 0 0}
\nhtml[dir=rtl] textarea{padding:15px 15px 0}
\nhtml[dir=rtl] .messagebar-area textarea{padding:6px 16px}
\nhtml[dir=rtl] .button img{margin-right:0;margin-left:7px}
\nhtml[dir=rtl] .single-post-author>img{margin-right:0;margin-left:12px}
\nhtml[dir=rtl] .card-author-footer .card-footer-right,html[dir=rtl] .single-post-author .author-follow{margin-right:auto;margin-left:inherit}
\nhtml[dir=rtl] .comment>img{margin-right:0;margin-left:15px}
\nhtml[dir=rtl] .comment-date{margin-right:6px;margin-left:0}
\nhtml[dir=rtl] .comment-reply{margin-right:60px;margin-left:0}
\nhtml[dir=rtl] .movie-infos{margin-right:15px;margin-left:0}
\nhtml[dir=rtl] .rating-block-star i{margin-right:3px;margin-left:0}
\nhtml[dir=rtl] .album-stat:last-child,html[dir=rtl] .profile-stat:last-child{border-right:1px solid #e2e3e5}
\nhtml[dir=rtl] .settings-list .item-after{padding-left:20px;padding-right:0}
\nhtml[dir=rtl] .settings-list .item-after:has(.toggle){padding-left:0}
\nhtml[dir=rtl] .search-grid a{text-align:right}
\nhtml[dir=rtl] .badge-with-image img,html[dir=rtl] .search-grid a i{margin-right:0;margin-left:6px}
\nhtml[dir=rtl] .accordion-opposite .accordion-item>.item-content:before{right:8px}
\nhtml[dir=rtl] .badge-with-image{padding-right:0;padding-left:8px}
\nhtml[dir=rtl] .card-author-footer .card-footer-middle{margin-right:12px}
\nhtml[dir=rtl] .badge-with-icon{padding:0 6px 0 10px}
\nhtml[dir=rtl] .badge-with-icon i{margin-right:0;margin-left:3px}
\nhtml[dir=rtl] .card .card-author img{margin-right:0;margin-left:8px}
\nhtml[dir=rtl] .detailed-list .item-content{padding-left:0}
\nhtml[dir=rtl] .light-gray-title .badge{margin-left:0;margin-right:3px}
\nhtml[dir=rtl] .post-horizontal{padding:15px 17px 15px 15px}
\nhtml[dir=rtl] .search-grid a:nth-child(odd){margin-left:10px;margin-right:0}
\nhtml[dir=rtl] .stepper .stepper-input-wrap input{padding-right:0}
\nhtml[dir=rtl] .panel-links a i,html[dir=rtl] .stock-item img{margin-left:15px;margin-right:0}
\nhtml[dir=rtl] .rating-block-total-text{margin-left:0;margin-right:5px}','','1759989998','1759968650','3','129','0','2');
INSERT INTO `t6_css` VALUES('130','m1','aa','','.comment-infos,
\n.page-content img,
\n.rating-block-group {
\n  width: 100%;
\n}
\n.dark .ticket-fill.ticket-image,
\n.dark .timeline-item-inner,
\n.ios .router-transition-backward .page-current:before,
\n.ios .router-transition-backward .page-previous:after,
\n.ios .router-transition-forward .page-current:after,
\n.ios .router-transition-forward .page-next:before,
\n.page-opacity-effect,
\n.page-shadow-effect {
\n  background: 0 0;
\n}
\n.navbar-bg,
\n.toolbar {
\n  background-color: var(--background-color);
\n}
\n::-webkit-scrollbar {
\n  display: none;
\n}
\n.card-footer:before,
\n.detailed-list .item-link .item-inner:before,
\n.navbar-bg:after,
\n.simple-list .item-inner::after,
\n.text-editor-toolbar::after,
\nhtml[dir="rtl"] .link-chevron::before {
\n  display: none;
\n}
\n.post-horizontal .post-title,
\n.search-grid a {
\n  display: -webkit-box;
\n  -webkit-box-orient: vertical;
\n  text-overflow: ellipsis;
\n}
\n.navbar-profile img {
\n  border-radius: 50%;
\n  width: 30px;
\n}
\n.navbar-arrow {
\n  padding-left: 2px;
\n  width: 25px;
\n}
\n.arrow-back {
\n  font-weight: 400;
\n  font-size: 26px;
\n  padding-right: 10px;
\n  width: 25px;
\n  -webkit-font-smoothing: subpixel-antialiased;
\n}
\n.navbar .title-large {
\n  height: 58px;
\n}
\n.navbar .title-large-text {
\n  color: var(--title-color);
\n  padding-left: 15px;
\n}
\n.ios .navbar .left a + a,
\n.ios .navbar .right a + a,
\nhtml[dir="rtl"] .search-grid a:nth-child(2n) {
\n  margin-left: 0;
\n}
\n.navbar .icon .badge {
\n  font-size: 11px;
\n  font-weight: 600;
\n}
\n.toolbar {
\n  transition: background-color 0.4s, transform 0.4s;
\n}
\n.tabbar a,
\n.tabbar-icons a {
\n  color: #8896b8;
\n}
\n.tabbar-icons .tabbar-label {
\n  font-size: 10px;
\n}
\n.ios .toolbar-bottom-ios:before,
\n.md .toolbar-bottom-md:before,
\n.toolbar-bottom:before {
\n  background-color: #dedede;
\n  transition: background-color 0.4s, transform 0.4s;
\n}
\n.color-light-gray {
\n  --f7-button-text-color: var(--title-color);
\n  --f7-theme-color: #ecf1f5;
\n  --f7-theme-color-rgb: 236, 241, 245;
\n  --f7-theme-color-shade: #d1dde7;
\n  --f7-theme-color-tint: #f6f8fa;
\n  --f7-badge-text-color: var(--title-color);
\n}
\n.color-dark {
\n  --f7-theme-color: #1e2b47;
\n  --f7-theme-color-rgb: 30, 43, 71;
\n  --f7-theme-color-shade: #121a2a;
\n  --f7-theme-color-tint: #2a3c64;
\n}
\n
\n.info-block,
\n.list {
\n  margin-bottom: 25px;
\n}
\n.links-list a,
\n.list .item-title,
\n.movie-distribution .item-inner .item-after,
\n.settings-list .item-title,
\n.simple-list ul li {
\n  font-weight: 500;
\n  color: var(--title-color);
\n  font-size: 15px;
\n}','','1759982000','1759932397','5','130','0','2');
INSERT INTO `t6_css` VALUES('131','m1','button','','.button,btn {
\n  width: 100%;
\n  height: 40px;
\n  text-transform: none;
\n  font-weight: 700;
\n  font-size: 18px;
\n  border-radius: 7px;
\n  margin: 3px 0;
\n}
\n.button img,btn img {
\n  width: 17px;
\n  max-width: 17px;
\n  max-height: 17px;
\n  margin-right: 7px;
\n}
\n.grid-buttons-demo,
\np.row .button {
\n  margin-top: 0;
\n  margin-bottom: 0;
\n}
\n.button i{font-size:18px;font-weight:400}
\n.button-icon-right i{margin-left:6px}
\n.button-icon-left i{margin-right:6px}
\n.button-round{border-radius:22px}
\n.button-lg,btn-lg, .button-group-lg > .button, .btn-group-lg > .btn {
\n    height: 46px;
\n    line-height: 1.7;
\n    font-weight: 800;
\n    font-size: 20px;
\n}
\n.button-sm,btn-sm,.button-group-sm > .button, .btn-group-sm > .btn{
\n    padding: 0.325rem 0.65rem;
\n    height: 30px;
\n    line-height: 1.45;
\n    font-weight: 600;
\n    font-size: 16px;
\n}
\n.button-xs,.button-group-xs > .button,btn-xs,.btn-group-xs > .btn{
\n    padding: 0.225rem 0.45rem;
\n    height: 32px;
\n    line-height: 1.3;
\n    font-weight: 500;
\n    font-size: 16px;
\n}
\n.button-xxs, .button-group-xxs > .button, btn-xxs, .btn-group-xxs > .btn{
\n    padding: 0.125rem 0.35rem;
\n    height: 28px;
\n    line-height: 1.05;
\n    font-weight: 500;
\n    font-size: 0.75rem;
\n}','','1760004907','1759932441','5','131','0','2');
INSERT INTO `t6_css` VALUES('132','m1','list','','.list {
\n  margin-top: 15px;
\n}
\n.list li {
\n  color: var(--title-color);
\n  padding-top: 0;
\n  padding-bottom: 0;
\n}
\n.list .item-inner {
\n  padding-top: 2px;
\n  padding-bottom: 2px;
\n}
\n.links-list ul li a,
\n.simple-list ul li {
\n  min-height: 50px;
\n}
\n.simple-list .item-inner,
\n.toggle-setting .item-after {
\n  padding-right: 0;
\n}
\n.list-with-icons .item-media img {
\n  max-height: 35px;
\n  max-width: 35px;
\n  height: auto;
\n  width: auto;
\n  border-radius: 50%;
\n}
\n.icon-list .icon {
\n  margin: 0 15px;
\n}
\n.card-author-footer .card-date,
\n.list .item-after {
\n  color: var(--text-color);
\n}
\n.detailed-list,
\n.section-title + .card {
\n  margin-top: 10px;
\n}
\n.list-title {
\n  margin: 25px 0 10px;
\n}
\n.list-title + .list {
\n  margin-top: 5px;
\n}
\n.detailed-list .item-after,
\n.login-separator,
\n.panel .profile-header .profile-subtitle {
\n  font-size: 14px;
\n}
\n.detailed-list .item-content,
\n.toggle-setting .item-inner {
\n  padding-left: 15px;
\n}
\n.detailed-list .item-link .item-inner {
\n  padding-right: 15px;
\n  margin-left: 15px;
\n}
\n.detailed-list .item-media img {
\n  width: 50px;
\n  border-radius: 50%;
\n}
\n.detailed-list .item-footer {
\n  line-height: 16px;
\n  overflow: hidden;
\n  white-space: nowrap;
\n  text-overflow: ellipsis;
\n  font-size: 14px;
\n  margin-top: 4px;
\n  color: var(--text-color);
\n  padding-right: 5px;
\n}
\n.detailed-list .item-name {
\n  font-size: 15px;
\n}
\n.detailed-list .item-name .badge {
\n  margin-left: 3px;
\n  padding: 0 8px;
\n}
\n.detailed-list .item-media img.event-thumbnail {
\n  border-radius: 5px;
\n}
\n.list .item-after.event-time {
\n  color: var(--title-color);
\n  font-weight: 500;
\n  font-size: 14px;
\n}
\n.list .item-media.event-icon i {
\n  font-size: 35px;
\n  margin: 0 5px;
\n}
\n.detailed-list .item-after .badge {
\n  height: 22px;
\n  padding: 0 9px;
\n  font-size: 12px;
\n}','','1759991591','1759932500','5','132','0','2');
INSERT INTO `t6_css` VALUES('133','m1','color','','.colored-icons-list a {
\n  justify-content: flex-start;
\n  padding: 11px var(--f7-list-item-padding-horizontal);
\n  height: auto;
\n}
\n.colored-icon {
\n  background-color: #ebebf2;
\n  border-radius: 50%;
\n  height: 38px;
\n  width: 38px;
\n  display: flex;
\n  align-items: center;
\n  justify-content: center;
\n  margin-right: 15px;
\n  color: var(--title-color);
\n}
\n.colored-icon .icon {
\n  font-size: 19px;
\n}
\n.colored-icon.yellow {
\n  color: #e5b32d;
\n  background-color: rgba(229, 179, 45, 0.2);
\n}
\n.colored-icon.blue {
\n  color: #0091de;
\n  background-color: rgba(0, 145, 222, 0.1);
\n}
\n.colored-icon.green {
\n  color: #19b48e;
\n  background-color: rgba(25, 180, 142, 0.1);
\n}
\n.colored-icon.pink {
\n  color: #e2206e;
\n  background-color: rgba(226, 32, 95, 0.1);
\n}
\n.colored-icon.orange {
\n  color: #ee8f30;
\n  background-color: rgba(255, 156, 60, 0.16);
\n}
\n.colored-icon.red {
\n  color: #d8422e;
\n  background-color: rgba(216, 66, 46, 0.13);
\n}
\n.colored-icon.purple {
\n  color: #9146da;
\n  background-color: rgba(145, 70, 218, 0.15);
\n}
\n.light-gray-title {
\n  color: #99a0a7;
\n  font-weight: 500;
\n  font-size: 13px;
\n  text-transform: uppercase;
\n  margin-top: 30px;
\n  margin-bottom: 10px;
\n}
\n.light-gray-title .badge {
\n  padding: 0;
\n  margin-left: 3px;
\n  margin-bottom: 2px;
\n}
\n.dark .colored-icon.yellow {
\n  background-color: rgba(229, 179, 45, 0.2);
\n}
\n.dark .colored-icon.blue {
\n  background-color: rgba(0, 145, 222, 0.25);
\n}
\n.dark .colored-icon.green {
\n  background-color: rgba(25, 180, 142, 0.2);
\n}
\n.dark .colored-icon.pink {
\n  background-color: rgba(226, 32, 95, 0.2);
\n}
\n.dark .colored-icon.orange {
\n  background-color: rgba(255, 156, 60, 0.2);
\n}
\n.dark .colored-icon.red {
\n  background-color: rgba(216, 66, 46, 0.3);
\n}
\n.dark .colored-icon.purple {
\n  background-color: rgba(145, 70, 218, 0.3);
\n}
\n.dark .light-gray-title {
\n  color: #8191a6;
\n}
\n.bg-color-primary {
\n  background-color: var(--f7-theme-color) !important;
\n}','','1759986928','1759932528','5','133','0','2');
INSERT INTO `t6_css` VALUES('134','m1','info-blok','','.info-block {
\n  background-color: var(--light-gray);
\n  padding: 15px 20px;
\n  border-radius: 15px;
\n  margin-top: 20px;
\n  position: relative;
\n}
\n.info-block p {
\n  font-size: 15px;
\n  color: #708197;
\n  margin: 0;
\n}
\n.info-block-icon {
\n  position: absolute;
\n  top: -15px;
\n  right: -15px;
\n  background-color: #fff;
\n  padding: 4px;
\n  border-radius: 50%;
\n}
\n.info-block-icon i,
\n.simple-link-banner i,
\n.single-post-actions {
\n  font-size: 25px;
\n}
\n.information-block,
\n.link-banner.error-message,
\n.link-banner.success-message {
\n  background-repeat: no-repeat;
\n  background-size: cover;
\n  background-position: center;
\n}
\n.information-block.error-message,
\n.link-banner.error-message {
\n  background-image: url("https://yui.xioyuna.com/template/img/images/pattern-error.png");
\n}
\n
\n.information-block.success-message,
\n.link-banner.success-message {
\n  background-image: url("https://yui.xioyuna.com/template/img/images/pattern-success.png");
\n}
\n.information-block {
\n  background-image: url("https://yui.xioyuna.com/template/img/images/pattern-general.png");
\n  color: var(--title-color);
\n  text-align: center;
\n  padding: 25px 20px 20px;
\n  margin: 20px 0;
\n}
\n.information-block.success-message h2,
\n.information-block.success-message p {
\n  color: #599c63;
\n}
\n.information-block.error-message h2,
\n.information-block.error-message p {
\n  color: #b14b4b;
\n}
\n.information-block img {
\n  width: 30%;
\n}
\n.information-block h2 {
\n  font-size: 30px;
\n  margin: 10px 0 0;
\n}
\n.information-block p {
\n  color: var(--title-color);
\n  margin: 10px 0;
\n  font-weight: 500;
\n  line-height: 1.5;
\n}','','1759986954','1759932565','5','134','0','2');
INSERT INTO `t6_css` VALUES('135','m1','section','','.section-title {
\n  margin-top: 25px;
\n  margin-bottom: 0;
\n  display: flex;
\n  align-items: center;
\n  justify-content: space-between;
\n  color: var(--title-color);
\n  font-size: 18px;
\n  font-weight: 300;
\n}
\n.section-title .left i {
\n  font-size: 16px;
\n}
\n.section-title a {
\n  font-weight: 700;
\n  font-size: 15px;
\n  color: var(--f7-theme-color);
\n}','','1759981044','1759932604','5','135','0','2');
INSERT INTO `t6_css` VALUES('136','m1','post','','.post-list {
\n  margin: 10px 0 20px;
\n}
\n.post-list .post-horizontal {
\n  margin-bottom: 10px;
\n  align-items: normal;
\n}
\n.post-horizontal {
\n  display: flex;
\n  padding: 15px 15px 15px 17px;
\n  border-radius: 15px;
\n  justify-content: space-between;
\n}
\n.post-horizontal .post-image {
\n  margin-left: 10px;
\n  line-height: 0;
\n}
\n.post-horizontal .post-image img {
\n  object-fit: cover;
\n  border-radius: 5px;
\n  min-width: 84px;
\n  max-width: 84px;
\n  height: 84px;
\n}
\n.post-horizontal .post-title {
\n  color: var(--title-color);
\n  font-weight: 500;
\n  line-height: 22px;
\n  font-size: 14px;
\n  margin: 2px 0 11px;
\n  overflow: hidden;
\n  -webkit-line-clamp: 2;
\n}
\n.post-horizontal .post-category,
\n.post-horizontal .post-date,
\n.stock-item-name {
\n  color: var(--text-color);
\n  font-size: 14px;
\n}
\n.post-horizontal .post-date {
\n  line-height: 0;
\n}','','1759979882','1759932623','5','136','0','2');
INSERT INTO `t6_css` VALUES('137','m1','badge','','.badge {
\n  padding: 0 6px;
\n  font-size: 13px;
\n  font-weight: 500;
\n  line-height: 20px;
\n}
\ni .badge {
\n  padding: 0 4px;
\n  font-size: 10px;
\n}
\n.badge-with-icon {
\n  height: 24px;
\n  padding: 0 10px 0 6px;
\n}
\n.badge-with-icon i {
\n  font-size: 17px !important;
\n  margin-right: 3px;
\n}
\n.badge-with-image {
\n  padding-left: 0;
\n  height: 24px;
\n  font-weight: 500;
\n  font-size: 14px;
\n  padding-right: 8px;
\n}
\n.badge-with-image img {
\n  height: 24px;
\n  width: auto;
\n  border-radius: 12px;
\n  margin-right: 6px;
\n}
\n.verified-badge {
\n  margin-left: 2px;
\n  font-size: 19px;
\n}','','1759986985','1759932642','5','137','0','2');
INSERT INTO `t6_css` VALUES('138','m1','checkbox','','.ios .checkbox i:after,
\n.ios .icon-checkbox:after {
\n  font-size: 20px;
\n  font-weight: 600;
\n}
\n.checkbox.checkbox-inline {
\n  margin-right: 5px;
\n}
\n.checkbox-rounded .checkbox i,
\n.checkbox-rounded .icon-checkbox,
\n.notification-image {
\n  border-radius: 50%;
\n}
\n.checkbox i,
\n.icon-checkbox {
\n  border-radius: 5px;
\n  border: 2px solid #c7c7cc;
\n}
\n.checkbox i:after,
\n.icon-checkbox:after {
\n  top: -2px;
\n  left: -2px;
\n}','','1759987004','1759933755','5','138','0','2');
INSERT INTO `t6_css` VALUES('139','m1','grid','','.grid {
\n  margin: 10px 0;
\n}
\n.grid-demo > * {
\n  padding: 20px 0;
\n  font-weight: 500;
\n  color: var(--title-color);
\n  background-color: var(--light-gray);
\n  border-radius: 6px;
\n  text-align: center;
\n}
\n.grid-demo {
\n  margin: 15px 0;
\n}
\n.grid-buttons-demo .button {
\n  margin-bottom: 0;
\n  margin-top: 0;
\n}
\n.grid-no-margin,
\nswiper-slide .card {
\n  margin: 0;
\n}
\n
\n.grid-new-release>a{
\n  margin-block-start: -20px;
\n  margin-block-end: 0px;
\n}','','1760010509','1759933817','5','139','0','2');
INSERT INTO `t6_css` VALUES('140','m1','icon','','.icon-bold,
\n.movie-block-text {
\n  font-weight: 600;
\n}
\n.demo-icons {
\n  display: grid;
\n  grid-template-columns: repeat(auto-fill, 60px);
\n  justify-content: space-between;
\n  grid-gap: 1rem;
\n  justify-items: center;
\n}
\n.demo-icons i {
\n  margin: 10px;
\n  font-size: 30px;
\n}
\n.infinite-scroll-demo .post-horizontal .post-image {
\n  border-radius: 15px;
\n  min-width: 84px;
\n  max-width: 84px;
\n  height: 84px;
\n  background-color: var(--title-color);
\n  display: flex;
\n  align-items: center;
\n  justify-content: center;
\n  color: #fff;
\n  font-weight: 600;
\n  font-size: 30px;
\n}
\n.popover-inner .block {
\n  margin: 20px 0;
\n  padding: 0 20px;
\n}
\n.preloader-big {
\n  height: 40px;
\n  width: 40px;
\n}
\n.panel-backdrop {
\n  background-color: rgba(0, 0, 0, 0.3);
\n}
\n.centered-text,
\n.preloader-demo > div {
\n  text-align: center;
\n}
\n.progressbar,
\n.progressbar-infinite {
\n  margin: 20px 0;
\n  height: 8px;
\n  background-color: var(--light-gray);
\n}
\n.ios .icon-radio:after {
\n  font-size: 24px;
\n}
\n.radio .icon-radio {
\n  width: 24px;
\n  height: 24px;
\n  border: 2px solid #c7c7cc;
\n}
\np .icon-radio {
\n  margin-right: 1px;
\n}
\n.dark .card,
\n.ios .toggle-icon:after {
\n  box-shadow: none;
\n}
\n.ios .toggle-icon:before {
\n  background-color: #e9e9ea;
\n}','','1759987042','1759964590','5','140','0','2');
INSERT INTO `t6_css` VALUES('141','m1','popup','','.popup-demo {
\n  padding-top: 0;
\n  padding-bottom: 0;
\n  display: flex;
\n  flex-direction: column;
\n}
\n.popup-demo img {
\n  width: 80%;
\n  margin-top: 40px;
\n}
\n.popup-content {
\n  margin-top: 10px;
\n  flex: 1;
\n  text-align: center;
\n}
\n.popup-demo .button {
\n  margin-bottom: 25px;
\n  min-height: 44px;
\n}
\n.popup-demo .swipe-down-text {
\n  margin-bottom: 25px;
\n  text-align: center;
\n  font-size: 18px;
\n  font-weight: 500;
\n}','','1759987064','1759964651','5','141','0','2');
INSERT INTO `t6_css` VALUES('142','m1','link-banner','','.link-banner.bg-color-dark,
\n.link-banner.bg-color-dark .link-banner-text,
\n.link-banner.bg-color-dark i,
\n.link-banner.bg-color-dark.link-chevron::before,
\n.link-banner.bg-color-primary,
\n.link-banner.bg-color-primary .link-banner-text,
\n.link-banner.bg-color-primary i,
\n.link-banner.bg-color-primary.link-chevron::before,
\n.navbar-photo-browser .right .link i,
\n.navbar-photo-browser .right .link svg,
\n.photo-browser-page .navbar .title,
\n.segmented.segmented-strong .button.tab-link-active,
\nhtml[dir="rtl"] .dark .segmented.segmented-strong .button.tab-link-active,
\nhtml[dir="rtl"] .segmented.segmented-strong .button {
\n  color: #fff;
\n}
\n.link-banner.bg-color-dark,
\n.stepper.color-light-gray .stepper-button-minus::after,
\n.stepper.color-light-gray .stepper-button-plus::after,
\n.stepper.color-light-gray .stepper-button-plus::before {
\n  background-color: var(--title-color);
\n}
\n.create-post-cover,
\n.link-banner,
\n.profile-image,
\n.settings-image {
\n  position: relative;
\n}
\n.category-slide,
\n.contact-block,
\n.create-post-cover,
\n.link-banner,
\n.movie-block,
\n.profile-buttons .contact-button {
\n  background-color: var(--light-gray);
\n}
\n.link-banner {
\n  padding: 15px 15px 15px 20px;
\n  margin: 15px 0;
\n  font-weight: 500;
\n  font-size: 15px;
\n  display: flex;
\n  align-items: center;
\n  justify-content: flex-start;
\n  color: var(--title-color);
\n  overflow: hidden;
\n}
\n.link-banner i,
\n.link-banner-subtitle,
\n.link-chevron::before {
\n  font-weight: 400;
\n  color: var(--title-color);
\n}
\n.link-banner i {
\n  margin-right: 10px;
\n  font-size: 35px;
\n}
\n.link-banner-text {
\n  color: var(--title-color);
\n  margin-left: 10px;
\n}
\n.link-banner-subtitle {
\n  font-size: 14px;
\n  margin-top: 2px;
\n  opacity: 0.7;
\n}
\n.link-banner img {
\n  margin-right: 10px;
\n  max-height: 40px;
\n  width: auto;
\n}
\n.link-banner.bg-color-dark .link-banner-subtitle,
\n.link-banner.bg-color-primary .link-banner-subtitle {
\n  color: #fff;
\n  opacity: 0.8;
\n}
\n.link-banner.error-message .link-banner-subtitle,
\n.link-banner.error-message .link-banner-title,
\n.link-banner.error-message i,
\n.link-banner.error-message.link-chevron::before {
\n  color: #9b3d3d;
\n}
\n.link-banner.success-message .link-banner-subtitle,
\n.link-banner.success-message .link-banner-title,
\n.link-banner.success-message i,
\n.link-banner.success-message.link-chevron::before {
\n  color: #508d59;
\n}
\n.simple-link-banner .link-banner-text {
\n  font-size: 15px;
\n  margin-left: 2px;
\n}','','1759987088','1759964700','5','142','0','2');
INSERT INTO `t6_css` VALUES('143','m1','card','','.card-author-footer .card-footer-right i,
\n.ios p .icon-radio:after,
\n.rating-block-detailed .rating-block-stars i {
\n  font-size: 22px;
\n}
\n.card-author-footer .card-author,
\n.list.accordion-list .item-title,
\n.range-slider-title-value .range-value,
\n.signup-have-account {
\n  color: var(--title-color);
\n  font-weight: 500;
\n  font-size: 15px;
\n}
\n.card.card-album,
\n.single-cover-image,
\n.single-post-content img,
\n.stepper-button-minus:first-child,
\n.stepper-button-minus:last-child,
\n.stepper-button-plus:first-child,
\n.stepper-button-plus:last-child,
\n.stepper-button:first-child,
\n.stepper-button:last-child {
\n  border-radius: 8px;
\n}
\n.card {
\n  background: 0 0;
\n  border-radius: 5px;
\n  overflow: hidden;
\n  margin: 20px 0;
\n  display: block;
\n}
\n.card-image {
\n  border-radius: 0;
\n  display: block;
\n  min-height: auto;
\n  padding: 0;
\n  line-height: 0;
\n  position: relative;
\n}
\n.card-image:has(.card-image-footer) img {
\n  object-fit: cover;
\n  aspect-ratio: 16/10;
\n}
\n.card-image:has(~ .card-author-footer) img {
\n  aspect-ratio: 16/9;
\n}
\n.card-image-footer {
\n  position: absolute;
\n  bottom: 0;
\n  padding: 60px 18px 15px;
\n  background-image: linear-gradient(
\n    to bottom,
\n    rgba(0, 0, 0, 0) 0,
\n    rgb(24 24 24 / 95%) 100%
\n  );
\n  color: #fff;
\n  width: 100%;
\n  box-sizing: border-box;
\n  line-height: var(--f7-line-height);
\n}
\n.card-image-footer h2 {
\n  margin: 0;
\n  font-size: 19px;
\n  line-height: 24px;
\n  font-weight: 700;
\n  color: #fff;
\n}
\n.card .card-category {
\n  display: inline-block;
\n  font-size: 13px;
\n  font-weight: 500;
\n  padding: 2px 8px;
\n  margin-bottom: 10px;
\n  border-radius: 5px;
\n}
\n.card .card-author,
\n.comment-author,
\n.comment-header-left {
\n  display: flex;
\n  align-items: center;
\n}
\n.card .card-author span,
\n.ticket-fill:active {
\n  opacity: 0.9;
\n}
\n.card .card-author img {
\n  width: 20px;
\n  height: 20px;
\n  border-radius: 50%;
\n  margin-right: 8px;
\n}
\n.card-author-footer {
\n  display: flex;
\n  align-items: center;
\n  justify-content: flex-start;
\n  padding: 12px 16px;
\n}
\n.card-author-footer .author-image {
\n  width: 35px;
\n  border-radius: 50%;
\n  height: auto;
\n}
\n.card-author-footer .card-footer-middle {
\n  margin-left: 12px;
\n}
\n.card-author-footer .card-footer-right {
\n  font-size: 13px;
\n  font-weight: 500;
\n  color: var(--text-color);
\n  margin-left: auto;
\n}
\n.card-big-footer {
\n  display: block;
\n  padding: 20px;
\n}
\n.card-big-footer h2 {
\n  margin: 0 0 -5px;
\n  font-size: 20px;
\n  line-height: 1.5;
\n}
\n.card-big-footer .button {
\n  margin-bottom: 0;
\n  margin-top: 15px;
\n}
\n.card-big-footer .button i,
\n.onboarding-next-button i {
\n  margin-left: 5px;
\n  font-weight: 600;
\n}','','1759981161','1759965324','5','143','0','2');
INSERT INTO `t6_css` VALUES('144','m1','slider','','.range-slider-with-icons {
\n  width: 100%;
\n  margin: 0 16px;
\n}
\n.range-slider-title-value {
\n  display: flex;
\n  justify-content: space-between;
\n  align-items: center;
\n}
\n.authors-slider swiper-slide,
\n.categories-slider swiper-slide,
\n.toast-button.button {
\n  width: auto;
\n}','','1759987128','1759965372','5','144','0','2');
INSERT INTO `t6_css` VALUES('145','m1','sheet','','.sheet-modal[data-swipe-to-close="true"] .sheet-modal-inner::before {
\n  content: "";
\n  width: 40px;
\n  height: 6px;
\n  position: absolute;
\n  left: 50%;
\n  top: 8px;
\n  margin-left: -20px;
\n  border-radius: 3px;
\n  background: #666;
\n  cursor: pointer;
\n  z-index: 15;
\n}
\n.sheet-modal {
\n  height: 32vh;
\n}
\n.sheet-modal[data-swipe-to-close="true"] {
\n  border-top-right-radius: 20px;
\n  border-top-left-radius: 20px;
\n  height: auto;
\n  max-height: 70vh;
\n}
\n.sheet-modal .page-content {
\n  padding: 0 20px 20px;
\n}
\n.sheet-modal[data-swipe-to-close="true"] .page-content {
\n  padding-top: 20px;
\n}
\n.sheet-modal::before {
\n  display: none !important;
\n}','','1759987152','1759965393','5','145','0','2');
INSERT INTO `t6_css` VALUES('146','m1','stepper','','.stepper .stepper-input-wrap input {
\n  background-color: transparent;
\n  padding: 0;
\n  border-radius: 0;
\n  color: var(--title-color);
\n  width: 40px;
\n}
\n.stepper-input-wrap,
\n.stepper-value {
\n  border: none;
\n}
\n.stepper-button,
\n.stepper-button-minus,
\n.stepper-button-plus {
\n  width: 28px;
\n}
\n.stepper-button-minus:after,
\n.stepper-button-plus:after {
\n  width: 12px;
\n}
\n.stepper-button-plus:before {
\n  height: 12px;
\n}','','1759987175','1759965438','5','146','0','2');
INSERT INTO `t6_css` VALUES('147','m1','segmented','','.segmented.segmented-strong,
\n.text-editor,
\n.text-editor-toolbar {
\n  background-color: var(--light-gray);
\n}
\n.segmented.segmented-strong .button {
\n  margin: 0;
\n  border-radius: 12px;
\n}
\n.segmented.segmented-strong {
\n  border-radius: 15px;
\n}
\n.segmented-strong .segmented-highlight {
\n  box-shadow: none;
\n  background-color: var(--title-color);
\n  border-radius: 12px;
\n}
\n.segmented-strong {
\n  --f7-segmented-strong-padding: 3px;
\n}
\n.segmented.segmented-strong .button.active-state {
\n  background-color: transparent;
\n}','','1759987199','1759965495','5','147','0','2');
INSERT INTO `t6_css` VALUES('148','m1','comment','','.comment-infos .author-name,
\n.single-post-author .author-name,
\n.swipeout-actions-left > a,
\n.swipeout-actions-left > button,
\n.swipeout-actions-left > div,
\n.swipeout-actions-left > span,
\n.swipeout-actions-right > a,
\n.swipeout-actions-right > button,
\n.swipeout-actions-right > div,
\n.swipeout-actions-right > span {
\n  font-weight: 500;
\n  font-size: 15px;
\n}
\n.comment-date,
\n.comment-text {
\n  font-size: 15px;
\n  color: var(--text-color);
\n}
\n.comment-list {
\n  margin-top: 30px;
\n}
\n.comment {
\n  display: flex;
\n  margin: 20px 0;
\n}
\n.comment > img {
\n  width: 45px;
\n  height: 45px;
\n  border-radius: 50%;
\n  margin-right: 13px;
\n}
\n.comment-date {
\n  margin-left: 6px;
\n  opacity: 0.8;
\n}
\n.comment-text {
\n  line-height: 1.55em;
\n  margin-top: 2px;
\n}
\n.comment-count {
\n  margin-bottom: 2px;
\n  margin-left: 2px;
\n}
\n.comment-header {
\n  display: flex;
\n  justify-content: space-between;
\n  width: 100%;
\n}
\n.comment-reply {
\n  margin-left: 60px;
\n}
\n.comment-header i {
\n  color: var(--title-color);
\n  font-size: 18px;
\n  width: 10px;
\n  font-weight: 600;
\n}','','1759987219','1759965520','5','148','0','2');
INSERT INTO `t6_css` VALUES('149','m1','text-editor','','.text-editor {
\n  margin-right: 0;
\n  margin-left: 0;
\n  border-radius: 10px;
\n  border: 1px solid #e0e3e6;
\n  margin-top: 0;
\n}
\n.text-editor-content .text-editor-placeholder {
\n  color: #93a0b1;
\n}
\n.text-editor-toolbar {
\n  border-bottom: 1px solid #e0e3e6;
\n  border-top-left-radius: 10px;
\n  border-top-right-radius: 10px;
\n}','','1759987254','1759965543','5','149','0','2');
INSERT INTO `t6_css` VALUES('150','m1','accordion','','.accordion-item-content {
\n  padding: 0 20px;
\n}
\n.accordion-item-content p {
\n  font-size: 15px;
\n  margin: 0 0 5px;
\n}','','1759987274','1759965661','5','150','0','2');
INSERT INTO `t6_css` VALUES('151','m1','swiper','','swiper-slide .card.card-with-footer {
\n  margin-bottom: 10px;
\n}
\nswiper-container {
\n  margin-top: 10px;
\n  margin-bottom: -20px;
\n  padding-bottom: 20px;
\n}','','1759987291','1759965849','5','151','0','2');
INSERT INTO `t6_css` VALUES('152','m1','album','','.album-grid a:last-child,
\n.album-grid a:nth-last-child(2),
\n.movie-block:last-child,
\nform h1 {
\n  margin-bottom: 0;
\n}
\n.album-tracklist .item-inner .item-title,
\n.detailed-list .item-name,
\n.detailed-list .item-unread {
\n  color: var(--title-color);
\n  font-weight: 500;
\n}
\n.album-grid img,
\n.search-grid a:nth-child(odd) {
\n  margin-right: 10px;
\n}
\n.album-grid a {
\n  display: flex;
\n  align-items: center;
\n  justify-content: flex-start;
\n  border-bottom: none !important;
\n  margin-bottom: 20px;
\n}
\n.album-grid img {
\n  width: 55px;
\n  border-radius: 6px;
\n}
\n.album-details {
\n  width: calc(100% - 70px);
\n}
\n.album-grid a:nth-child(2n) .album-details {
\n  width: calc(100% - 63px);
\n}
\n.album-title {
\n  font-size: 15px;
\n  overflow: hidden;
\n  white-space: nowrap;
\n  text-overflow: ellipsis;
\n}
\n.album-author {
\n  line-height: 16px;
\n  overflow: hidden;
\n  white-space: nowrap;
\n  text-overflow: ellipsis;
\n  font-size: 14px;
\n  margin-top: 4px;
\n  color: var(--text-color);
\n}
\n.card.card-album .card-image img {
\n  aspect-ratio: 1/1;
\n  object-fit: cover;
\n  border-radius: 5px;
\n}
\n.album-header {
\n  display: flex;
\n  flex-direction: column;
\n  align-items: center;
\n  justify-content: center;
\n}
\n.album-header .album-cover {
\n  width: 80%;
\n  border-radius: 10px;
\n}
\n.album-header .album-title {
\n  font-weight: 800;
\n  font-size: 26px;
\n  margin-top: 20px;
\n}
\n.album-header .album-artist {
\n  font-weight: 400;
\n  font-size: 16px;
\n  color: var(--text-color);
\n  margin-bottom: 20px;
\n}
\n.album-stats {
\n  margin-bottom: 40px;
\n}','','1759981668','1759965929','5','152','0','2');
INSERT INTO `t6_css` VALUES('153','m1','rating','','.rating-block {
\n  display: flex;
\n  flex-direction: column;
\n  justify-content: space-between;
\n  align-items: center;
\n  padding: 40px 25px;
\n}
\n.rating-block-note {
\n  font-weight: 500;
\n  font-size: 30px;
\n  margin: 20px 0;
\n}
\n.rating-block-text {
\n  text-align: center;
\n  color: var(--text-color);
\n}
\n.rating-block-detailed {
\n  display: flex;
\n  flex-direction: column;
\n  justify-content: space-between;
\n  align-items: center;
\n  padding: 20px 0;
\n}
\n.rating-block-total {
\n  display: flex;
\n  justify-content: space-between;
\n  align-items: center;
\n  background-color: #f5f9ff;
\n  border-radius: 50px;
\n  padding: 10px 15px;
\n}
\n.rating-block-total-text {
\n  font-weight: 500;
\n  margin-top: 2px;
\n  margin-left: 5px;
\n}
\n.rating-block-count {
\n  font-size: 14px;
\n  margin-top: 10px;
\n  color: var(--text-color);
\n  margin-bottom: 15px;
\n}
\n.rating-block-individual {
\n  display: flex;
\n  align-items: center;
\n  margin: 15px 0;
\n}
\n.rating-block-individual:first-child {
\n  margin-top: 0;
\n}
\n.rating-block-star {
\n  display: flex;
\n  align-items: center;
\n  justify-content: flex-end;
\n  font-weight: 500;
\n  width: 40px;
\n}
\n.rating-block-star i {
\n  font-size: 18px;
\n  margin-left: 3px;
\n}
\n.rating-block-bar {
\n  margin: 0 10px;
\n}
\n.rating-block-percentage {
\n  font-weight: 500;
\n  width: 44px;
\n}
\n.rating-bg {
\n  background-color: #f5f9ff;
\n  border-radius: 15px;
\n}','','1759987314','1759965952','5','153','0','2');
INSERT INTO `t6_css` VALUES('154','m1','ticket','','.ticket,
\n.ticket-fill {
\n  position: relative;
\n  height: 140px;
\n  box-sizing: border-box;
\n  margin-bottom: 20px;
\n  border-radius: 15px;
\n  display: flex;
\n}
\n.ticket {
\n  width: 100%;
\n  font-size: 15px;
\n  background-size: 50% 100%;
\n  background-repeat: no-repeat;
\n  background-image: radial-gradient(
\n      circle at 0 50%,
\n      rgba(0, 0, 0, 0) 0.7em,
\n      var(--light-gray) 0
\n    ),
\n    radial-gradient(
\n      circle at 100% 50%,
\n      rgba(0, 0, 0, 0) 0.7em,
\n      var(--light-gray) 0
\n    );
\n  background-position: top left, top right;
\n  overflow: hidden;
\n  padding: 20px 30px;
\n  align-items: center;
\n  justify-content: space-between;
\n}
\n.ticket-infos {
\n  flex: 1;
\n  flex-basis: 50%;
\n  padding-left: 5px;
\n}
\n.ticket-image {
\n  flex: 1;
\n  flex-basis: 50%;
\n}
\n.ticket-discount {
\n  font-size: 40px;
\n  font-weight: 600;
\n  color: var(--title-color);
\n}
\n.ticket-text {
\n  text-transform: uppercase;
\n  font-weight: 600;
\n  font-size: 14px;
\n}
\n.ticket-description {
\n  font-weight: 500;
\n  font-size: 14px;
\n}
\n.ticket:active {
\n  opacity: 0.5;
\n}
\n.ticket-fill {
\n  width: 100%;
\n  font-size: 15px;
\n  background: linear-gradient(90deg, #15161b, #14142d);
\n  flex-direction: column;
\n  align-items: flex-start;
\n  justify-content: center;
\n  padding: 20px 30px;
\n}
\n.ticket-fill::after,
\n.ticket-fill::before {
\n  content: "";
\n  width: 22px;
\n  height: 11px;
\n  background-color: #fff;
\n  border-radius: 10rem 10rem 0 0;
\n  position: absolute;
\n  top: 75px;
\n  z-index: 10;
\n}
\n.ticket-fill::before {
\n  left: -6px;
\n  transform: rotate(90deg);
\n}
\n.ticket-fill::after {
\n  right: -6px;
\n  transform: rotate(270deg);
\n}
\n.ticket-fill .ticket-description,
\n.ticket-fill .ticket-discount {
\n  color: #fff;
\n  font-weight: 500;
\n  z-index: 10;
\n}
\n.ticket-background-icon {
\n  position: absolute;
\n  right: 40px;
\n  color: rgba(255, 255, 255, 0.1);
\n}
\n.ticket-background-icon i {
\n  font-size: 110px;
\n}
\n.ticket-image-bg {
\n  width: 100%;
\n  height: 100%;
\n  position: absolute;
\n  left: 0;
\n  top: 0;
\n  z-index: 1;
\n  object-fit: cover;
\n  border-radius: 15px;
\n}
\n.ticket-image-bg + .ticket-text {
\n  z-index: 10;
\n  color: #fff;
\n}','','1759987331','1759966034','5','154','0','2');
INSERT INTO `t6_css` VALUES('155','m1','timeline','','.timeline {
\n  padding: 0;
\n}
\n.timeline-item-text {
\n  color: var(--text-color);
\n  margin-top: 5px;
\n  line-height: 1.8em;
\n}
\n.calendar .toolbar .toolbar-inner .center,
\n.calendar-day-number,
\n.timeline-item-date {
\n  font-weight: 500;
\n}
\n.timeline-item-divider:after,
\n.timeline-item-divider:before {
\n  width: 1px;
\n  opacity: 0.2;
\n  background: #41454b;
\n}
\n.timeline-item-divider {
\n  background: var(--title-color);
\n}
\n.timeline-item-content {
\n  margin-top: -4px;
\n  margin-bottom: 5px;
\n}
\n.timeline-item-inner {
\n  padding-top: 0;
\n}
\n.timeline-item-text img {
\n  border-radius: 10px;
\n}','','1759987351','1759966112','5','155','0','2');
INSERT INTO `t6_css` VALUES('156','m1','signin','','.signin-image,
\n.signup-image {
\n  display: flex;
\n  align-items: center;
\n  justify-content: center;
\n}
\n.signup-image img {
\n  width: 85%;
\n}
\n.signin-image img {
\n  width: 90%;
\n}
\n.signup-tos {
\n  font-size: 13px;
\n}
\n.signup-tos a {
\n  color: var(--text-color);
\n  text-decoration: underline;
\n}
\n.signin-links {
\n  font-weight: 500;
\n  font-size: 15px;
\n  display: flex;
\n  align-items: center;
\n  justify-content: space-between;
\n}
\n.google-button {
\n  background-color: #eff7e5;
\n}','','1759987368','1759966169','5','156','0','2');
INSERT INTO `t6_css` VALUES('157','m1','message','','.messagebar textarea,
\n.single-post-author,
\n.single-post-category {
\n  background-color: var(--light-gray);
\n}
\n.message-list.detailed-list .item-after .badge {
\n  padding: 0 6px;
\n  min-width: 22px;
\n}
\n.messagebar textarea {
\n  min-height: auto;
\n  border: none;
\n  margin-bottom: 0;
\n  font-weight: 400;
\n  font-size: 15px;
\n}
\n.ios .message-received {
\n  margin-left: 15px;
\n}
\n.ios .message-sent {
\n  margin-right: 15px;
\n}
\n.messagebar .send-link i {
\n  transform: rotate(45deg);
\n  margin-left: -6px;
\n  margin-right: 3px;
\n}
\n.ios .message + .message:not(.message-first) {
\n  margin-top: 2px;
\n}
\n.messages-date {
\n  font-size: 14px;
\n  margin: 15px 0 5px;
\n  color: var(--text-color);
\n  text-align: center;
\n  width: 100%;
\n  line-height: 1;
\n}
\n.ios .message-sent .message-bubble {
\n  padding: 8px 20px 8px 13px;
\n}
\n.ios .message-received .message-bubble {
\n  padding: 8px 13px 8px 20px;
\n}
\n.messagebar .toolbar-inner {
\n  padding-bottom: 3px;
\n}
\n.faq-list .list.accordion-list .item-title,
\n.message-bubble {
\n  font-size: 15px;
\n}','','1759987384','1759966491','5','157','0','2');
INSERT INTO `t6_css` VALUES('158','m1','search','','.searchbar-inner {
\n  padding: 0 15px;
\n}
\n.searchbar-backdrop.searchbar-backdrop-in {
\n  opacity: 0;
\n}
\n.searchbar.searchbar-inline {
\n  margin-top: 10px;
\n  margin-bottom: -5px;
\n}
\n.searchbar.searchbar-inline .searchbar-input-wrap {
\n  height: 40px;
\n}
\n.authors-slider,
\n.searchbar-help-center.searchbar-inline {
\n  margin-top: 20px;
\n}
\n.searchbar-search-page.searchbar-inline {
\n  margin-top: 10px;
\n  margin-bottom: 20px;
\n}
\n.search-grid a {
\n  font-size: 15px;
\n  border-top: 1px solid #e2e3e5;
\n  text-align: left;
\n  margin-top: 12px;
\n  padding-top: 12px;
\n  overflow: hidden;
\n  -webkit-line-clamp: 1;
\n}
\n.search-grid a:first-child,
\n.search-grid a:nth-child(2) {
\n  border-top: none;
\n  margin-top: 5px;
\n  padding-top: 0;
\n}
\n.search-grid a:nth-child(2n) {
\n  margin-left: 10px;
\n}
\n.search-grid a i {
\n  font-size: 20px;
\n  margin-right: 6px;
\n}','','1759987400','1759966603','5','158','0','2');
INSERT INTO `t6_css` VALUES('159','m1','page','','.page[data-name="chat"] .page-content {
\n  padding-bottom: calc(
\n    var(--f7-page-toolbar-bottom-offset, 0px) + var(--f7-safe-area-bottom) +
\n      var(--f7-page-content-extra-padding-bottom, 0px)
\n  );
\n}','','1759987427','1759966922','5','159','0','2');
INSERT INTO `t6_css` VALUES('160','m1','single-post','','.single-post-date {
\n  color: var(--text-color);
\n  font-size: 16px;
\n  margin-top: 10px;
\n}
\n.single-post-title {
\n  margin-top: 10px;
\n  margin-bottom: 15px;
\n  font-size: 28px;
\n}
\n.single-post-category {
\n  padding: 3px 3px;
\n  height: auto;
\n  border-radius: 6px;
\n  color: var(--title-color);
\n  font-size: 14px;
\n  font-weight: 500;
\n  margin-right: 5px;
\n  display: inline-block;
\n  margin-top: 15px;
\n}
\n.single-post-author {
\n  display: flex;
\n  align-items: center;
\n  padding: 15px;
\n  border-radius: 8px;
\n  margin: 20px 0;
\n}
\n.single-post-author > img {
\n  width: 55px;
\n  border-radius: 50%;
\n  margin-right: 12px;
\n}
\n.single-post-author .author-details {
\n  display: flex;
\n  flex-direction: column;
\n  justify-content: center;
\n}
\n.single-post-author .author-description {
\n  color: var(--text-color);
\n  margin-top: 2px;
\n  font-size: 13px;
\n}
\n.single-post-author .author-follow {
\n  width: auto;
\n  margin-left: auto;
\n  padding: 0 15px 0 11px;
\n  height: 38px;
\n}','','1760019264','1759966947','5','160','0','2');
INSERT INTO `t6_css` VALUES('161','m1','title-bottom','','.title-bottom-line {
\n  position: relative;
\n  margin-top: 30px;
\n  margin-bottom: 25px;
\n}
\n.title-bottom-line::after {
\n  content: "";
\n  position: absolute;
\n  background-color: var(--f7-list-outline-border-color);
\n  display: block;
\n  z-index: 15;
\n  right: auto;
\n  bottom: -7px;
\n  left: 0;
\n  height: 1px;
\n  width: 100%;
\n  transform-origin: 50% 100%;
\n  transform: scaleY(calc(1 / var(--f7-device-pixel-ratio)));
\n}','','1759987473','1759967099','5','161','0','2');
INSERT INTO `t6_css` VALUES('162','m1','create-post','','.casting .grid,
\n.create-post-cover {
\n  margin-bottom: 20px;
\n}
\n.create-post-cover {
\n  height: 25vh;
\n  border-radius: 10px;
\n  width: 100%;
\n  display: flex;
\n  align-items: center;
\n  flex-direction: column;
\n  justify-content: center;
\n  font-size: 14px;
\n  color: #93a0b1;
\n}
\n.create-post-cover i {
\n  margin-bottom: 5px;
\n}
\n.create-post-cover input[type="file"] {
\n  background-color: red;
\n  position: absolute;
\n  width: 95%;
\n  height: 90%;
\n  opacity: 0;
\n  z-index: 99;
\n  cursor: pointer;
\n}','','1759987494','1759967208','5','162','0','2');
INSERT INTO `t6_css` VALUES('163','m1','navbar','','.navbar-transparent .navbar-inner .left a i {
\n  color: #fff;
\n  transition: color 00s;
\n  text-shadow: 0 0 11px #000;
\n}
\n.navbar-transparent.navbar-transparent-visible .navbar-inner .left a i {
\n  color: #000;
\n  transition: color;
\n  text-shadow: none;
\n}','','1759987512','1759967310','5','163','0','2');
INSERT INTO `t6_css` VALUES('164','m1','movie','','.movie-header {
\n  display: flex;
\n  justify-content: space-between;
\n  margin-bottom: 30px;
\n}
\n.link-banner-text,
\n.movie-block {
\n  display: flex;
\n  flex-direction: column;
\n}
\n.page-content .movie-cover {
\n  width: calc(70vw - 30px);
\n  border-radius: 5px;
\n  max-height: 342px;
\n  object-fit: cover;
\n}
\n.movie-infos {
\n  width: 100%;
\n  margin-left: 15px;
\n}
\n.movie-block {
\n  color: var(--title-color);
\n  align-items: center;
\n  justify-content: center;
\n  border-radius: 8px;
\n  margin-bottom: 15px;
\n  padding: 19px 0;
\n}
\n.card-movie,
\n.help-center-banner,
\n.information-block,
\n.link-banner {
\n  border-radius: 5px;
\n}
\n.movie-block i {
\n  font-size: 20px;
\n}
\n.movie-block-name {
\n  margin: 5px 0 1px;
\n  color: #708197;
\n  font-weight: 400;
\n}
\n.casting .grid > div {
\n  display: flex;
\n  align-items: center;
\n  flex-direction: column;
\n  justify-content: flex-start;
\n}
\nimg.actor-image {
\n  border-radius: 50%;
\n  width: 60px;
\n  margin-bottom: 10px;
\n}
\n.actor-firstname,
\n.actor-lastname {
\n  text-align: center;
\n  line-height: 1.4em;
\n  color: var(--title-color);
\n  font-weight: 500;
\n  font-size: 13px;
\n}
\n.movie-rating {
\n  padding-top: 0;
\n  padding-bottom: 0;
\n  margin-bottom: -15px;
\n}
\n.movie-distribution.list .item-title {
\n  font-weight: 400;
\n  color: var(--text-color);
\n}
\n.card-movie-rating {
\n  position: absolute;
\n  right: 8px;
\n  bottom: 8px;
\n  background-color: #fff;
\n  padding: 4px 8px 2px 6px;
\n  border-radius: 8px;
\n  font-size: 12px;
\n}
\n.card-movie-rating i {
\n  font-size: 12px;
\n  margin-bottom: 3px;
\n}
\n.card-movie .card-image img {
\n  aspect-ratio: 9/13;
\n  object-fit: cover;
\n}','','1759980431','1759967335','5','164','0','2');
INSERT INTO `t6_css` VALUES('165','m1','help','','.help-center-title {
\n  margin-top: 20px;
\n  margin-bottom: -5px;
\n  font-size: 2em;
\n}
\n.help-center-links,
\n.profile-stats,
\n.search-grid {
\n  margin-bottom: 30px;
\n}','','1759987540','1759967671','5','165','0','2');
INSERT INTO `t6_css` VALUES('166','m1','stock','','.author-slide,
\n.stock-item-details {
\n  flex-direction: column;
\n  display: flex;
\n}
\n.stock-item {
\n  display: flex;
\n  padding: 13px 15px;
\n  border-radius: 13px;
\n  margin-bottom: 8px;
\n}
\n.stock-item img {
\n  width: 40px;
\n  margin-right: 15px;
\n}
\n.stock-item-details {
\n  width: 100%;
\n}
\n.stock-item-bottom,
\n.stock-item-top {
\n  display: flex;
\n  justify-content: space-between;
\n}
\n.stock-item-top {
\n  margin-bottom: 3px;
\n}
\n.stock-item-title,
\n.stock-item-value {
\n  font-weight: 500;
\n  color: var(--title-color);
\n  font-size: 15px;
\n}
\n.stock-item-change {
\n  font-size: 14px;
\n  font-weight: 500;
\n}','','1759987562','1759967752','5','166','0','2');
INSERT INTO `t6_css` VALUES('167','m1','author','','.author-list .author-follow {
\n  height: 35px;
\n  margin: 0;
\n  color: #fff;
\n}
\n.author-slide .author-name,
\n.category-slide,
\n.contact-block {
\n  color: var(--title-color);
\n  font-weight: 500;
\n}
\n.author-slide {
\n  width: 85px;
\n}
\n.author-slide img {
\n  width: 60px;
\n  border-radius: 50%;
\n}
\n.author-slide .author-name {
\n  text-align: center;
\n  margin-top: 7px;
\n}','','1759987580','1759967795','5','167','0','2');
INSERT INTO `t6_css` VALUES('168','m1','category','','.category-slide {
\n  font-size: 14px;
\n  line-height: 21px;
\n  padding: 10px 16px;
\n  display: flex;
\n  border-radius: 20px;
\n}
\n.album-grid,
\n.categories-slider {
\n  margin-top: 15px;
\n}
\n.category-item,
\n.category-item img {
\n  border-radius: 15px;
\n  overflow: hidden;
\n}
\n.category-item {
\n  height: 100px;
\n  position: relative;
\n}
\n.category-item img {
\n  object-fit: cover;
\n  height: 100%;
\n  width: 100%;
\n  filter: brightness(60%);
\n}
\n.category-name {
\n  position: absolute;
\n  top: 50%;
\n  width: 100%;
\n  text-align: center;
\n  color: #fff;
\n  font-weight: 800;
\n  font-size: 18px;
\n  line-height: 0;
\n  text-shadow: 0 0 20px #000;
\n}','','1759981289','1759967833','5','168','0','2');
INSERT INTO `t6_css` VALUES('169','m1','contact','','.contact-block {
\n  display: flex;
\n  flex-direction: column;
\n  align-items: center;
\n  justify-content: center;
\n  padding: 13px 5px 10px;
\n  border-radius: 15px;
\n}
\n.contact-block i {
\n  margin: 0;
\n  font-size: 22px;
\n  padding-right: 0;
\n  font-weight: 400;
\n}
\n.contact-block .contact-method {
\n  font-size: 14px;
\n  margin-top: 4px;
\n}
\n.contact-input {
\n  height: 150px;
\n}','','1759987603','1759967875','5','169','0','2');
INSERT INTO `t6_css` VALUES('170','m1','profile','','.edit-profile-image,
\n.profile-online {
\n  background-color: #0091de;
\n  display: flex;
\n}
\n.edit-profile-image {
\n  position: absolute;
\n  bottom: 8px;
\n  right: 8px;
\n  border-radius: 50%;
\n  border: 1px solid #fff;
\n  width: 20px;
\n  height: 20px;
\n  align-items: center;
\n  justify-content: center;
\n}
\n.edit-profile-image i {
\n  color: #fff;
\n  font-size: 15px;
\n}
\n.profile-image img,
\n.settings-image img {
\n  width: 120px;
\n  border-radius: 50%;
\n}
\n.profile-header {
\n  display: flex;
\n  align-items: center;
\n  flex-direction: column;
\n  margin: 20px 0;
\n}
\n.profile-online {
\n  position: absolute;
\n  bottom: 6px;
\n  right: 15px;
\n  border-radius: 50%;
\n  border: 2px solid #fff;
\n  width: 15px;
\n  height: 15px;
\n  align-items: center;
\n  justify-content: center;
\n}
\n.profile-name {
\n  color: var(--title-color);
\n  font-weight: 500;
\n  font-size: 20px;
\n  margin-top: 15px;
\n}
\n.profile-subtitle {
\n  color: #99a0a7;
\n  font-weight: 400;
\n  font-size: 15px;
\n  margin-bottom: 5px;
\n}
\n.profile-buttons {
\n  display: flex;
\n  justify-content: center;
\n  margin-bottom: 30px;
\n}
\n.profile-buttons .contact-button {
\n  color: var(--title-color);
\n  border-radius: 15px;
\n  width: 44px;
\n  height: 44px;
\n  display: flex;
\n  align-items: center;
\n  justify-content: center;
\n  margin: 0 7px;
\n}
\n.profile-buttons .contact-button i {
\n  padding: 0;
\n  font-size: 20px;
\n}
\n.profile-buttons .author-follow {
\n  width: auto;
\n  margin: 0 7px;
\n  padding: 0 20px 0 15px;
\n}
\n.grid.grid-gap.album-stats,
\n.grid.grid-gap.profile-stats {
\n  gap: 0;
\n}
\n.album-stat,
\n.profile-stat {
\n  display: flex;
\n  flex-direction: column;
\n  border-right: 1px solid #e2e3e5;
\n  text-align: center;
\n}
\n.album-stat:last-child,
\n.dark .album-stat:last-child,
\n.dark .profile-stat:last-child,
\n.profile-stat:last-child,
\nhtml[dir="rtl"] .album-stat:first-child,
\nhtml[dir="rtl"] .profile-stat:first-child {
\n  border-right: none;
\n}
\n.album-stat-number,
\n.profile-stat-number {
\n  font-weight: 600;
\n  font-size: 20px;
\n}
\n.album-stat-title,
\n.profile-stat-title {
\n  color: var(--text-color);
\n  font-size: 15px;
\n}','','1759987621','1759967895','5','170','0','2');
INSERT INTO `t6_css` VALUES('171','m1','settings','','.settings-header {
\n  display: flex;
\n  align-items: center;
\n  flex-direction: column;
\n  margin: 25px 0 35px;
\n}
\n.settings-name {
\n  font-weight: 500;
\n  font-size: 15px;
\n  margin-top: 20px;
\n  margin-bottom: 2px;
\n}
\n.settings-email {
\n  color: #99a0a7;
\n  font-weight: 400;
\n}
\n.settings-list .colored-icon {
\n  border-radius: 10px;
\n  height: 32px;
\n  width: 32px;
\n}
\n.dark .settings-list .colored-icon.yellow,
\n.settings-list .colored-icon.yellow {
\n  color: #fff;
\n  background-color: #ffc62b;
\n}
\n.dark .settings-list .colored-icon.blue,
\n.settings-list .colored-icon.blue {
\n  color: #fff;
\n  background-color: #089bea;
\n}
\n.dark .settings-list .colored-icon.green,
\n.settings-list .colored-icon.green {
\n  color: #fff;
\n  background-color: #41d359;
\n}
\n.dark .settings-list .colored-icon.pink,
\n.settings-list .colored-icon.pink {
\n  color: #fff;
\n  background-color: #f20f6a;
\n}
\n.dark .settings-list .colored-icon.orange,
\n.settings-list .colored-icon.orange {
\n  color: #fff;
\n  background-color: #ff9925;
\n}
\n.dark .settings-list .colored-icon.red,
\n.settings-list .colored-icon.red {
\n  color: #fff;
\n  background-color: #ff4530;
\n}
\n.dark .settings-list .colored-icon.purple,
\n.settings-list .colored-icon.purple {
\n  color: #fff;
\n  background-color: #9638f3;
\n}
\n.dark .settings-list .colored-icon.gray,
\n.settings-list .colored-icon.gray {
\n  color: #fff;
\n  background-color: #878787;
\n}
\n.settings-list .item-after {
\n  padding-right: 20px;
\n  font-size: 15px;
\n}
\n.list .item-content.toggle-setting,
\nhtml[dir="rtl"] .simple-list .item-inner {
\n  padding-left: 0;
\n}
\n.settings-list .item-after:has(.toggle) {
\n  padding-right: 0;
\n}','','1759987637','1759968029','5','171','0','2');
INSERT INTO `t6_css` VALUES('172','m1','onboarding ','','.page-onboarding {
\n  display: flex;
\n  flex-direction: column;
\n  justify-content: space-between;
\n  padding-bottom: calc(
\n    var(--f7-page-toolbar-bottom-offset, 0px) + var(--f7-safe-area-bottom) +
\n      var(--f7-page-content-extra-padding-bottom, 0px) - 20px
\n  );
\n}
\n.navbar a.link.onboarding-skip {
\n  font-weight: 500;
\n  color: var(--title-color);
\n  padding-right: 8px;
\n}
\n.swiper-onboarding swiper-slide {
\n  display: flex;
\n  align-items: center;
\n  justify-content: center;
\n  flex-direction: column;
\n}
\n.swiper-onboarding swiper-slide img {
\n  width: 75%;
\n  margin-top: 20px;
\n}
\n.swiper-onboarding swiper-slide .onboarding-title {
\n  font-size: 40px;
\n  font-weight: 800;
\n  color: var(--title-color);
\n  padding: 0 30px;
\n  text-align: center;
\n  line-height: 1.2;
\n  margin: 20px 0 10px;
\n}
\n.swiper-onboarding swiper-slide .onboarding-subtitle {
\n  font-size: 15px;
\n  padding: 0 30px;
\n  text-align: center;
\n  color: var(--text-color);
\n  margin: 10px 0 30px;
\n}
\n@media (max-height: 885px) {
\n  .swiper-onboarding swiper-slide img {
\n    width: 70%;
\n  }
\n  .swiper-onboarding swiper-slide .onboarding-title {
\n    font-size: 30px;
\n  }
\n}
\n@media (max-height: 770px) {
\n  .swiper-onboarding swiper-slide img {
\n    width: 55%;
\n  }
\n  .swiper-onboarding swiper-slide .onboarding-title {
\n    font-size: 25px;
\n  }
\n  .swiper-onboarding swiper-slide .onboarding-subtitle {
\n    font-size: 15px;
\n  }
\n}','','1759981819','1759968271','5','172','0','2');
INSERT INTO `t6_css` VALUES('173','m1','notification','','.notification-list .item-date-container {
\n  display: flex;
\n  justify-content: space-between;
\n  margin-bottom: 3px;
\n}
\n.notification-list .item-date,
\n.notification-list .item-time {
\n  color: #99a0a7;
\n  font-size: 14px;
\n  font-weight: 400;
\n}
\n.album-title,
\n.card-movie-rating,
\n.notification-list .item-description {
\n  color: var(--title-color);
\n  font-weight: 500;
\n}
\n.notification-list .item-description {
\n  font-size: 14px;
\n  white-space: normal;
\n}
\n.notification-list .item-description i {
\n  font-size: 20px;
\n  margin-right: 4px;
\n  line-height: 0.9;
\n}
\n.notification-list.detailed-list .item-media img {
\n  width: 50px;
\n}
\n.notification-list.list .item-inner {
\n  padding-top: 10px;
\n  padding-bottom: 10px;
\n}','','1759987658','1759968336','5','173','0','2');
INSERT INTO `t6_css` VALUES('174','m1','panel','','.panel-links a {
\n  justify-content: flex-start;
\n}
\n.panel-links a i {
\n  margin-right: 15px;
\n  font-size: 23px;
\n}
\n.panel .profile-header {
\n  margin-bottom: 40px;
\n  margin-top: 40px;
\n}
\n.panel .profile-header .profile-image img {
\n  width: 90px;
\n}
\n.panel .profile-header .profile-image .profile-online {
\n  bottom: 7px;
\n  right: 7px;
\n  width: 12px;
\n  height: 12px;
\n}
\n.panel .profile-header .profile-name {
\n  font-size: 19px;
\n  margin-top: 5px;
\n}
\n.panel-logout {
\n  position: absolute;
\n  bottom: 20px;
\n  width: 100%;
\n  text-align: center;
\n  font-weight: 500;
\n}
\n.panel-logout i {
\n  font-size: 25px;
\n  margin-left: 5px;
\n}','','1759987675','1759968458','5','174','0','2');
INSERT INTO `t6_css` VALUES('175','m1','dark ','','.dark .toolbar-bottom:before,
\n.ios .dark .toolbar-bottom-ios:before,
\n.md .dark .toolbar-bottom-md:before {
\n  background-color: rgba(255, 255, 255, 0.15);
\n}
\n.dark .info-block-icon {
\n  background-color: var(--background-color);
\n  color: #8191a6;
\n}
\n.dark .info-block p {
\n  color: #7f91a7;
\n}
\n.dark .button.color-dark {
\n  background-color: #0ee9b3;
\n  color: #181c22;
\n}
\n.dark .badge.color-black,
\n.dark .badge.color-light-gray,
\n.dark .card .card-category.bg-color-white {
\n  color: var(--background-color);
\n}
\n.dark .button.color-light-gray {
\n  background-color: #102733;
\n}
\n.dark .post-horizontal {
\n  box-shadow: none;
\n  background-color: var(--light-gray);
\n}
\n.dark .infinite-scroll-demo .post-horizontal .post-image {
\n  background-color: var(--text-color);
\n}
\n.dark .notification,
\n.dark .sheet-modal {
\n  background: var(--light-gray);
\n}
\n.dark .segmented.segmented-strong .button.tab-link-active {
\n  color: #181c22;
\n}
\n.dark .text-editor {
\n  border: 1px solid #363d43;
\n}
\n.dark .text-editor-toolbar {
\n  border-bottom: 1px solid #363d43;
\n}
\n.dark .card-image-footer {
\n  background-image: linear-gradient(
\n    to bottom,
\n    rgba(0, 0, 0, 0) 0,
\n    rgb(24 24 24 / 80%) 100%
\n  );
\n}
\n.dark .card-movie-rating {
\n  background-color: var(--background-color);
\n  color: #fff;
\n}
\n.dark .badge.color-black {
\n  background-color: #fff;
\n}
\n.dark .post-horizontal .post-category {
\n  color: #0ee9b3;
\n}
\n.dark .stock-item {
\n  background-color: var(--light-gray);
\n  box-shadow: none;
\n}
\n.dark .ticket-fill {
\n  background: #0ee9b3;
\n}
\n.dark .ticket-fill:not(.ticket-image) .ticket-description,
\n.dark .ticket-fill:not(.ticket-image) .ticket-discount,
\n.dark .ticket-fill:not(.ticket-image) .ticket-text,
\n.dark .ticket-fill:not(.ticket-image) i {
\n  color: #000 !important;
\n}
\n.dark .ticket {
\n  background-image: radial-gradient(
\n      circle at 0 50%,
\n      rgba(0, 0, 0, 0) 0.7em,
\n      var(--light-gray) 0
\n    ),
\n    radial-gradient(
\n      circle at 100% 50%,
\n      rgba(0, 0, 0, 0) 0.7em,
\n      var(--light-gray) 0
\n    );
\n}
\n.dark .timeline-item-divider:after,
\n.dark .timeline-item-divider:before {
\n  background: #fff;
\n}
\n.dark .information-block:not(.success-message, .error-message) h2,
\n.dark .information-block:not(.success-message, .error-message) p,
\nhtml[dir="rtl"] .dark .segmented.segmented-strong .button {
\n  color: #1e2b47;
\n}
\n.dark .link-banner.dark-theme-green {
\n  background-color: #0ee9b3;
\n}
\n.dark .link-banner.dark-theme-green .link-banner-subtitle,
\n.dark .link-banner.dark-theme-green .link-banner-title,
\n.dark .link-banner.dark-theme-green i,
\n.dark .link-banner.dark-theme-green.link-chevron::before {
\n  color: #000;
\n}
\n.dark .link-banner.bg-color-dark {
\n  background-color: var(--light-gray) !important;
\n}
\n.dark .category-item img {
\n  filter: brightness(70%);
\n}
\n.dark .album-stat,
\n.dark .profile-stat {
\n  border-right: 1px solid #2d3d4a;
\n}
\n.dark .profile-online {
\n  border: 2px solid var(--background-color);
\n}
\n.dark .edit-profile-image {
\n  border: 1px solid var(--background-color);
\n}
\n.dark .search-grid a {
\n  border-top: 1px solid #2d3d4a;
\n}
\n.dark .search-grid a:first-child,
\n.dark .search-grid a:nth-child(2) {
\n  border-top: none;
\n}
\n.dark .panel .profile-header .profile-image .profile-online {
\n  border: 2px solid var(--light-gray);
\n}','','1759984653','1759968563','5','175','0','2');

INSERT INTO `t6_css` VALUES('177','m1','fw','','.fw-100 {
\n  font-weight: 100 !important;
\n}
\n.fw-200 {
\n  font-weight: 200 !important;
\n}
\n.fw-300 {
\n  font-weight: 300 !important;
\n}
\n.fw-400 {
\n  font-weight: 400 !important;
\n}
\n.fw-500 {
\n  font-weight: 500 !important;
\n}
\n.fw-600 {
\n  font-weight: 600 !important;
\n}
\n.fw-700 {
\n  font-weight: 700 !important;
\n}
\n.fw-800 {
\n  font-weight: 800 !important;
\n}
\n.fw-900 {
\n  font-weight: 900 !important;
\n}
\n.lead {
\n  font-weight: 500;
\n  font-size: 15px;
\n  line-height: 16px;
\n}
\n.fs-sm {
\n  font-size: 13px !important;
\n  line-height: 14px;
\n  margin-top: 4px;
\n  margin-bottom: 4px;
\n}
\n.fs-xs {
\n  font-size: 11px !important;
\n  line-height: 12px;
\n  margin-top: 3px;
\n  margin-bottom: 3px;
\n}
\n.fs-xxs {
\n  font-size: 9px !important;
\n  line-height: 10px;
\n  margin-top: 2px;
\n  margin-bottom: 2px;
\n}
\n
\n.radio-wrapper {
\n  padding: 16px 0;
\n  border: 2px solid var(--f7-theme-color);
\n  background-color: var(--light-gray);
\n  border-radius: 6px;
\n  text-align: center;
\n  padding-bottom: 2px;
\n  padding-top: 8px;
\n}
\n
\n.radio-wrapper-selected {
\n  color: #fff;
\n  background-color: var(--f7-theme-color);
\n  padding: 16px 0;
\n  border: 1px solid var(--f7-theme-color);
\n  border-radius: 6px;
\n  text-align: center;
\n  padding-bottom: 2px;
\n  padding-top: 8px;
\n}
\n.bg-light {
\n  background-color: var(--mycolor-light);
\n  color: var(--mycolor-dark);
\n}
\n.bg-dark {
\n  background-color: var(--mycolor-dark);
\n  color: #fff;
\n}
\n.bg-primary {
\n  background-color: var(--mycolor-primary);
\n  color: #fff;
\n}
\n.bg-info {
\n  background-color: var(--mycolor-info);
\n  color: #fff;
\n}
\n.bg-secondary {
\n  background-color: var(--mycolor-secondary);
\n  color: #fff;
\n}
\n.bg-success {
\n  background-color: var(--mycolor-success);
\n  color: #fff;
\n}
\n.bg-warning {
\n  background-color: var(--mycolor-warning);
\n  color: #fff;
\n}
\n.bg-danger {
\n  background-color: var(--mycolor-danger);
\n  color: #fff;
\n}
\n
\n.swiper-button-next, .swiper-button-prev {
\n    color: #3A0CA3;
\n}','','1760055278','1759978186','5','177','0','2');
INSERT INTO `t6_css` VALUES('178','m1','item','','.item-category {
\n  padding-top: 3px;
\n  padding-bottom: 3px;
\n  padding-left: 5px;
\n  padding-right: 5px;
\n  height: auto;
\n  border-radius: 6px;
\n  color: var(--title-color);
\n  background-color:var(--light-gray);
\n  font-size: 14px;
\n  font-weight: 500;
\n  margin-right: 5px;
\n  display: inline-block;
\n  margin-top: 5px;
\n  margin-bottom: 5px;
\n}','','1760059578','1760059119','5','0','0','2');


