Browse Source

五星赛 bug fixed

urban 5 months ago
parent
commit
749c51be07
3 changed files with 3 additions and 1 deletions
  1. 3 1
      e/admin/zbcj.php
  2. 0 0
      static/css/index.min.css
  3. BIN
      static/img/zx_img.png

+ 3 - 1
e/admin/zbcj.php

@@ -88,7 +88,9 @@ exit('分类不存在');
 
 $r=$empire->fetch1("select id from www_jianzhanzj_com_ecms_movie where cid='$cid' or title='$title' limit 1");
 if ($r[id]){
-$empire->query("update www_jianzhanzj_com_ecms_movie set title='$_POST[title]',xhyid='$_POST[xhyid]',titlepic='$titlepic',live='$_POST[live]',typename='$_POST[typename]',livename='$_POST[livename]',zd='$_POST[zd]',kd='$_POST[kd]',newstime='$newstime' where id='$r[id]' limit 1");
+    $istop=0;
+    if ($_POST[istop]>0) $istop = 1;
+$empire->query("update www_jianzhanzj_com_ecms_movie set title='$_POST[title]',xhyid='$_POST[xhyid]',istop='$istop',titlepic='$titlepic',live='$_POST[live]',typename='$_POST[typename]',livename='$_POST[livename]',zd='$_POST[zd]',kd='$_POST[kd]',newstime='$newstime' where id='$r[id]' limit 1");
 exit('增加信息成功');
 }else{
 AddNews($_POST,$logininid,$loginin);

File diff suppressed because it is too large
+ 0 - 0
static/css/index.min.css


BIN
static/img/zx_img.png


Some files were not shown because too many files changed in this diff