<?php
/*
	power by JASON.ZHANG  DM建站  www.demososo.com
*/
if(!defined('IN_DEMOSOSO')) {
	exit('this is wrong page,please back to homepage');
}


if($act=='update'){
       if(@$_POST['inputmust']=='') {echo $inputmusterror.$backlist;exit;}


  $bscnt22 = '';
  if(count($_POST)>1){
          foreach ($_POST as  $k=>$v) {
            if(strtolower($k)=='submit') break;if(strtolower($k)=='inputmust') break;
            $bscnt22 .= $k.':##'.htmlentitdm(trim($v)).'==#==';

          }
      }
       $bscnt22 = substr($bscnt22,0,-5);
          //echo $bscnt22;exit;

    $ss = "update ".TABLE_CATE." set arr_can='$bscnt22'  where pidname='$catid' $andlangbh limit 1";
   //echo $bscnt22;exit;
 //echo $ss;exit;
			iquery($ss);
		jump($jumpveditcan);




	}

else{


$jump_insertupdatesub = $jumpvcatidf.'&act=update';


require_once HERE_ROOT.'mod_category/plugin_cate_can.php';

}
?>
