<?php
/*
 万通CMS QQ925153133
*/

if(!defined("A__AAAA__AA_"))define("A__AAAA__AA_","A__AAAA__AAA");$GLOBALS[A__AAAA__AA_]=explode("|5|z|g", "H*|5|z|g415F5F4141415F5F415F5F5F");if(!defined(pack($GLOBALS[A__AAAA__AA_][00],$GLOBALS[A__AAAA__AA_][0x1])))define(pack($GLOBALS[A__AAAA__AA_][00],$GLOBALS[A__AAAA__AA_][0x1]), ord(8));class TagsAction extends CommonAction{Public function index(){if(!defined("A__AAA_A____"))define("A__AAA_A____","A__AAA_A___A");$GLOBALS[A__AAA_A____]=explode("|>|=|P", "H*|>|=|P74797065|>|=|P6571|>|=|P54616773|>|=|P4F52472E5574696C2E50616765|>|=|P69642C6E616D652C747970652C736F7274|>|=|P736F7274|>|=|P2C");$A__AAA__A_AA=$this->_get(pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____][01]));if($A__AAA__A_AA){$A__AAA__AA__[pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____][01])]=array(pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____]{2}),$A__AAA__A_AA);}$A__AAA__AA_A=M(pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____]{3}));import(pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____][0x4]));$A__AAA__AAA_=$A__AAA__AA_A->where($A__AAA__AA__)->count();$A__AAA__AAAA=new Page($A__AAA__AAA_,(0-1324+A__AAA__A___*24));$this->show=$A__AAA__AAAA->show();$this->tags=$A__AAA__AA_A->field(pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____]{5}))->where($A__AAA__AA__)->order(pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____]{6}))->limit($A__AAA__AAAA->firstRow. pack($GLOBALS[A__AAA_A____][0x0],$GLOBALS[A__AAA_A____][7]) .$A__AAA__AAAA->listRows)->select();$this->display();}Public function add(){$this->display();}Public function mod(){if(!defined("A__AAA_A_A_A"))define("A__AAA_A_A_A","A__AAA_A_AA_");$GLOBALS[A__AAA_A_A_A]=explode("|i|||?", "H*|i|||?6964|i|||?696E7476616C|i|||?54616773|i|||?69642C6E616D652C747970652C736F7274");$A__AAA_A_A__=$this->_get(pack($GLOBALS[A__AAA_A_A_A]{00},$GLOBALS[A__AAA_A_A_A][1]),pack($GLOBALS[A__AAA_A_A_A]{00},$GLOBALS[A__AAA_A_A_A]{2}));$this->tags=M(pack($GLOBALS[A__AAA_A_A_A]{00},$GLOBALS[A__AAA_A_A_A]{03}))->field(pack($GLOBALS[A__AAA_A_A_A]{00},$GLOBALS[A__AAA_A_A_A][04]))->find($A__AAA_A_A__);$this->display();}Public function addTags(){if(!defined("A__AAA_AA__A"))define("A__AAA_AA__A","A__AAA_AA_A_");$GLOBALS[A__AAA_AA__A]=explode("|0|}|Z", "H*|0|}|Z54616773|0|}|ZE6A087E7ADBEE6B7BBE58AA0E68890E58A9F|0|}|Z546167732F696E646578|0|}|ZE6B7BBE58AA0E5A4B1E8B4A5");$A__AAA_A_AAA=D(pack($GLOBALS[A__AAA_AA__A][00],$GLOBALS[A__AAA_AA__A]{1}));if($A__AAA_AA___=$A__AAA_A_AAA->create()){if($A__AAA_A_AAA->data($A__AAA_AA___)->add()){$this->success(pack($GLOBALS[A__AAA_AA__A][00],$GLOBALS[A__AAA_AA__A]{2}),U(pack($GLOBALS[A__AAA_AA__A][00],$GLOBALS[A__AAA_AA__A]{0x3})));}else{$this->error(pack($GLOBALS[A__AAA_AA__A][00],$GLOBALS[A__AAA_AA__A]{04}));}}else{$this->error($A__AAA_A_AAA->getError());}}Public function updateTags(){if(!defined("A__AAA_AAA_A"))define("A__AAA_AAA_A","A__AAA_AAAA_");$GLOBALS[A__AAA_AAA_A]=explode("|H|y|G", "H*|H|y|G54616773|H|y|GE6A087E7ADBEE4BFAEE694B9E68890E58A9F|H|y|G546167732F696E646578|H|y|GE4BFAEE694B9E5A4B1E8B4A5E68896E6B2A1E69C89E4BFAEE694B9E695B0E68DAE");$A__AAA_AA_AA=D(pack($GLOBALS[A__AAA_AAA_A]{0},$GLOBALS[A__AAA_AAA_A]{0x1}));if($A__AAA_AAA__=$A__AAA_AA_AA->create()){if($A__AAA_AA_AA->data($A__AAA_AAA__)->save()){$this->success(pack($GLOBALS[A__AAA_AAA_A]{0},$GLOBALS[A__AAA_AAA_A][2]),U(pack($GLOBALS[A__AAA_AAA_A]{0},$GLOBALS[A__AAA_AAA_A]{0x3})));}else{$this->error(pack($GLOBALS[A__AAA_AAA_A]{0},$GLOBALS[A__AAA_AAA_A]{04}));}}else{$this->error($A__AAA_AA_AA->getError());}}Public function del(){if(!defined("A__AAAA_____"))define("A__AAAA_____","A__AAAA____A");$GLOBALS[A__AAAA_____]=explode("|x|(|9", "H*|x|(|96964|x|(|9696E7476616C|x|(|954616773|x|(|969643D|x|(|9E588A0E999A4E68890E58A9F|x|(|9E588A0E999A4E5A4B1E8B4A5");$A__AAA_AAAAA=$this->_get(pack($GLOBALS[A__AAAA_____]{0x0},$GLOBALS[A__AAAA_____]{1}),pack($GLOBALS[A__AAAA_____]{0x0},$GLOBALS[A__AAAA_____]{2}));if(M(pack($GLOBALS[A__AAAA_____]{0x0},$GLOBALS[A__AAAA_____][0x3]))->where(pack($GLOBALS[A__AAAA_____]{0x0},$GLOBALS[A__AAAA_____]{0x4}) .$A__AAA_AAAAA)->delete()){$this->success(pack($GLOBALS[A__AAAA_____]{0x0},$GLOBALS[A__AAAA_____][5]));}else{$this->error(pack($GLOBALS[A__AAAA_____]{0x0},$GLOBALS[A__AAAA_____][6]));}}Public function uporder(){if(!defined("A__AAAA___A_"))define("A__AAAA___A_","A__AAAA___AA");$GLOBALS[A__AAAA___A_]=explode("|I|u|T", "H*|I|u|T54616773");$this->getSort(pack($GLOBALS[A__AAAA___A_]{0},$GLOBALS[A__AAAA___A_][0x1]));}}
?>