code
stringlengths
1
2.01M
language
stringclasses
1 value
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> storagePath = getStoragePath("tmp"); storagePath_stream = storagePath + "stream.dat"; storagePath_playlist = storagePath + "...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> storagePath = getStoragePath("tmp"); storagePath_stream = storagePath + "stream.dat"; storagePath_playlist = storagePath + "...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> storagePath = getStoragePath("tmp"); storagePath_stream = storagePath + "stream.dat"; storagePath_playlist = storagePath + "...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> storagePath = getStoragePath("tmp"); storagePath_stream = storagePath + "stream.dat"; storagePath_playlist = storagePath + "...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); screenXp = 4; screenYp = 3; item_type = 0; </onEnter> <onRefresh> setRefreshTime(-1); itemCount = ge...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <script> translate_base_url = "http://127.0.0.1/cgi-bin/translate?"; storagePath = getStoragePath("tmp"); storagePath_stream = storagePath + ...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); screenXp = 4; screenYp = 3; item_type = 0; </onEnter> <onRefresh> setRefreshTime(-1); itemCount = ge...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
#!/usr/local/bin/Resource/www/cgi-bin/php <?php echo "<?xml version='1.0' encoding='UTF8' ?>"; $host = "http://127.0.0.1/cgi-bin"; ?> <rss version="2.0"> <onEnter> startitem = "middle"; setRefreshTime(1); </onEnter> <onRefresh> setRefreshTime(-1); itemCount = getPageInfo("itemCount"); </onRefresh> <mediaDispl...
PHP
<?/* PHP */?> <?/* end of PHP */?>
PHP
monitor -SAIF -name mntr -hier E/UUT -input power_rtl.saif -output uut_enable.saif run 41000 > run.out quit
PHP
monitor -SAIF -name mntr -hier E/UUT -input power_rtl.saif -output uut_gated.saif run 41000 > run.out quit
PHP
monitor -SAIF -name mntr -hier E/UUT -input power_rtl.saif -output uut.saif run 41000 > run.out quit
PHP
monitor -SAIF -name mntr -hier E/UUT -input power_rtl.saif -output uut.saif run 33960 > run.out quit
PHP
monitor -SAIF -name mntr -hier E/UUT -input power_rtl.saif -output uut.saif run 33960 > run.out quit
PHP
<!-------------------------------------------------- Header ----------------------------------------------> <?php include 'header_page.php'; ?> <!-------------------------------------------------- Content ---------------------------------------------> <?php require_once('system/dbconnector.php'); $connection = ...
PHP
<?php $path = $_SERVER["PHP_SELF"]; $parts = explode('/', $path); $page = $parts[count($parts) - 1]; $subparts = explode("?",$page); $subpage = $subparts[0]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o...
PHP
<?php ob_start(); session_start(); if(isset($_SESSION['login_name'])) { header('Location: admin/admin_site.php'); } else { require_once('system/dbconnector.php'); $connetion = new DBConnection(); } ?> <?php include 'header_page.php'; ?> <!---------------------------------------------- Header -------...
PHP
<!-------------------------------------------------- Header ----------------------------------------------> <?php include 'header_page.php'; ?> <!-------------------------------------------------- Content ---------------------------------------------> <?php require_once('system/dbconnector.php'); $connection =...
PHP
<!-------------------------------------------------- Header ---------------------------------------------> <?php include 'header_page.php'; ?> <!-------------------------------------------------- Content --------------------------------------------> <?php require_once('system/dbconnector.php'); $connection = new ...
PHP
<!-------------------------------------------------- Header ----------------------------------------------> <?php include 'header_page.php'; ?> <!-------------------------------------------------- Content ---------------------------------------------> <div id="templatemo_middle_wrapper"> <div id="templatemo_middle...
PHP
<?php if(!isset($_GET["ip"]) ) { echo "<li><a href='#'>---查看配置文件---</a></li>"; $str = shell_exec("cat /home/yw/configMonitor/hosts2"); $str_array = explode("\n", $str); foreach($str_array as $line) { if($line=="") continue; $ip = $line; echo "<li><a href='#' onclick='menu_next(3, \"app/catcfg/main.php?ip=".$...
PHP
<?php if(!isset($_GET["ip"]) ) { echo "<li><a href='#'>---查看监听的服务---</a></li>"; $str = shell_exec("cat /home/yw/configMonitor/hosts2"); $str_array = explode("\n", $str); foreach($str_array as $line) { if($line=="") continue; $ip = $line; echo "<li><a href='#' onclick='menu_next(3, \"app/netlisten/main.php?ip...
PHP
<?php if(!isset($_GET["ip"]) ) { echo "<li><a href='#'>---查看单个服务性能---</a></li>"; $str = shell_exec("cat /home/yw/configMonitor/hosts2"); $str_array = explode("\n", $str); foreach($str_array as $line) { if($line=="") continue; $ip = $line; echo "<li><a href='#' onclick='menu_next(3, \"app/ps/main.php?ip=".$ip...
PHP
<?php # 连接数据库 $con = mysql_connect("r5033nklxxx.mysql.aliyun.com","r6982nklxxx","rb4c96d4d"); if (!$con) { die('Could not connect: ' . mysql_error()); } # 读取数据 mysql_select_db("r6982nklxxx", $con); $sql = "select CONTENT from wenzhang"; $ret = mysql_query($sql,$con); while($row = mysql_fetch_array($ret)) { # 对数据进行url...
PHP
<?php if(!isset($_GET["ip"]) ) { echo "<li><a href='#'>---查看最新log---</a></li>"; $str = shell_exec("cat /home/yw/configMonitor/hosts2"); $str_array = explode("\n", $str); foreach($str_array as $line) { if($line=="") continue; $ip = $line; echo "<li><a href='#' onclick='menu_next(3, \"app/taillog/main.php?ip="...
PHP
<?php #$str = shell_exec($_GET["cmd"]); #显示cssmenu/menu.html include "cssmenu/menu.html"; ?>
PHP
<?php # 自动识别编码的函数 function my_encoding($data,$to) { $encode_arr = array('UTF-8','ASCII','GBK','GB2312','BIG5','JIS','eucjp-win','sjis-win','EUC-JP'); $encoded = mb_detect_encoding($data,$encode_arr); $data = mb_convert_encoding($data,$to,$encoded); return $data; } #$str = shell_exec($_GET["cmd"]); $str = $_GET["cm...
PHP
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="prettify.css" type="text/css" rel="stylesheet" /> <link href="cssmenu/menu.css" type="text/css" rel="stylesheet" /> <link href="main.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="pret...
PHP
<?php /** * Website: http://sourceforge.net/projects/simplehtmldom/ * Acknowledge: Jose Solorzano (https://sourceforge.net/projects/php-html/) * Contributions by: * Yousuke Kumakura (Attribute filters) * Vadim Voituk (Negative indexes supports of "find" method) * Antcs (Constructor with automat...
PHP
<?php return array( 'appname'=>'飞飞CMS', 'ppvod_welcome'=>'欢迎使用飞飞CMS 2.7.130201版', 'ppvod_version'=>'2.7.130201', 'ppvod_homeurl'=>'http://www.feifeicms.com', 'ppvod_version_js'=>'http://union.feifeicms.com/feifei/version2.js', 'install_error'=>'已经安装过飞飞影视系统,重新安装请先删除Conf/install.lock 文件!', 'install_succes...
PHP
<?php $config = require './Runtime/Conf/config.php'; $array = array( 'USER_AUTH_KEY'=>'ffvod',// 用户认证SESSION标记 'NOT_AUTH_ACTION'=>'index,show,add,top,left,main',// 默认无需认证操作 // 'REQUIRE_AUTH_MODULE'=>'Admin,List,Vod,News,User,Collect,Data,Upload,Link,Ads,Cache,Create,Tpl,Cm,Gb,Tag,Special,Nav,Side,Pic',// 默认需要认证...
PHP
<?php /*****************后台公用类库 继承全站公用类库*******************************/ class BaseapiAction extends AllAction{ //构造 public function _initialize(){ parent::_initialize(); include_once('555vps.php'); if($config_555vps['pass']!=$_REQUEST['pass']) { $this->error('密码错误'); } //检查登录 $_SESS...
PHP
<?php //前台公用类库 class HomeAction extends AllAction{ //构造函数 public function _initialize(){ parent::_initialize(); $this->assign($this->Lable_Style()); } } ?>
PHP
<?php /*项目入口根模块*/ class AllAction extends Action{ //构造函数 public function _initialize(){ header("Content-Type:text/html; charset=utf-8"); } //影视栏目页变量定义 public function Lable_Vod_List($param,$array_list){ $array_list['sid'] = 1; $array_list['list_year'] = $param['year']; $array_list...
PHP
<?php $config_555vps=array( 'pass'=>'654321' ); ?>
PHP
<?php //生成验证码 class VcodeAction extends AllAction{ public function index(){ import("ORG.Util.Image"); Image::buildImageVerify();//6,0,'png',1,20,'verify' } } ?>
PHP
<?php class CheckAction extends Action { public function _initialize() { header("Content-Type:text/html; charset=utf-8") ; $Nav = F('_nav/list') ; if (in_array('index.php?s=Plus-Check-VideoCheck-check_sub-ok',$Nav) === false) { $Nav['检测影片重名'] = 'index.php?s=Plus-Check-VideoCheck-check_sub-ok'; F('_nav/list'...
PHP
<?php class DswinAction extends Action{ public function show(){ $this->display('./Public/plus/ds/ds_win.html'); } public function wait(){ $listarr = F('_ppvod/list'); foreach($listarr as $key=>$value){ $keynew = $value['list_sid']; $list[$keynew][$key] = $value['list_id']; } $this->a...
PHP
<?php class VodCheckAction extends Action { public function _initialize() { header("Content-Type:text/html; charset=utf-8") ; $Nav = F('_nav/list') ; if (in_array('index.php?s=Plus-Vodcheck-VideoCheck-check_sub-ok',$Nav) === false) { $Nav['检测影片重名'] = 'index.php?s=Plus-Vodcheck-VideoCheck-check_sub-ok'; F('_...
PHP
<?php class NewsAction extends BaseAction{ // 新闻管理 public function show(){ $admin = array(); //获取地址栏参数 $admin['cid']= $_REQUEST['cid']; $admin['status'] = intval($_REQUEST['status']); $admin['stars'] = intval($_REQUEST['stars']); $admin['type'] = !empty($_GET['type'])?$_GET['type']:C('admin_o...
PHP
<?php class CmAction extends BaseAction{ // 用户评论管理 public function show(){ $admin = array();$where = array(); $admin['status'] = intval($_GET['status']); $admin['wd'] = urldecode(trim($_REQUEST['wd'])); if ($admin['status'] == 2) { $where['cm_status'] = array('eq',0); }elseif ($admin['sta...
PHP
<?php class ApiAction extends BaseapiAction{ //获取分类 public function getcate() { $rs = F('_ppvod/listvod'); $select_start='<select name="vod_cid" id="vod_cid" style="width:100px">'; $select_option=''; foreach($rs as $c){ if(isset($c['son'])) { foreach($c['son'] as $s) { $sele...
PHP
<?php /** * Cat类库 * 用于类型分类的独立类库 * created by QQ:182377860 */ class CatAction extends BaseAction { /* * 添加分类 */ public function add() { $mcid = intval($_GET['mcid']); $rs = M('Mcat'); $list = array(); if($mcid) { $where = array(); $where['m_cid'] = $mcid; $list = $rs->w...
PHP
<?php class LinkAction extends BaseAction{ // 显示友情链接 public function show(){ $rs = D("Link"); $link = $rs->order('link_type asc,link_order asc')->select(); F('_ppvod/link',$link); $list = $rs->order('link_order asc')->select(); $this->assign('list_link',$list); $this->display('./Public/...
PHP
<?php class NavAction extends BaseAction{ public function show(){ $array = F('_nav/list'); $this->assign('array_nav',$array); $this->display('./Public/system/nav.html'); } public function update(){ $content = trim($_POST["content"]); if(empty($content)){ $this->error('自定义菜单不能...
PHP
<?php class AdminAction extends BaseAction{ // 用户管理 public function show(){ $rs = D("Admin"); $list = $rs->order('admin_logintime desc')->select(); $this->assign('url_html_suffix',C('url_html_suffix')); $this->assign('html_file_suffix',C('html_file_suffix')); $this->assign('list',$list); ...
PHP
<?php class CreateHtmliuhuhg2123hu1ws12Action extends Based1923d0j1i29szsakhodsaAction{ //构造函数 public function _initialize(){ parent::_initialize(); $this->assign($this->Lable_Style()); $this->assign("waitSecond",C('url_time')); } //组合需要生成的资讯列表并缓存 public function newslist(){ $this->l...
PHP
<?php class UserAction extends BaseAction{ // 后台用户管理 public function show(){ $rs = D("Admin.User"); $join = C('db_prefix').'group on '.C('db_prefix').'user.user_gid = '.C('db_prefix').'group.group_id'; $list = $rs->join($join)->order('user_id desc')->limit(C('url_num_admin'))->page(1)->select(); ...
PHP
<?php class CollectAction extends BaseAction{ // 栏目分类转换 public function change(){ $change_content = trim(F('_collect/change')); $this->assign('change_content',$change_content); $this->display('./Public/system/collect_change.html'); } // 栏目分类转换保存 public function changeup(){ F('_col...
PHP
<?php class GbAction extends BaseAction{ // 用户留言管理 public function show(){ $admin = array();$where = array(); $admin['cid'] = intval($_REQUEST['cid']); $admin['status'] = intval($_GET['status']); $admin['intro'] = intval($_GET['intro']); $admin['wd'] = urldecode(trim($_REQUEST['wd']));...
PHP
<?php // 本后管理框架 class IndexAction extends BaseAction{ public function index(){ $this->display('./Public/system/index.html'); } public function top(){ $this->display('./Public/system/top.html'); } public function left(){ $array = F('_nav/list'); $this->assign('arr...
PHP
<?php class Caches291sy3shjssi190k012j2Action extends Based1923d0j1i29szsakhodsaAction{ //缓存管理列表 public function show(){ $this->display('./Public/system/cache_show.html'); } //清除系统缓存AJAX public function del(){ import("ORG.Io.Dir"); $dir = new Dir; $this->ppvod_list(); @unlink('./...
PHP
<?php class UploadAction extends BaseAction{ // 列表 public function show(){ $this->display('./Public/system/upload_show.html'); } // 本地图片上传 public function upload(){ echo('<div style="font-size:12px; height:30px; line-height:30px">'); $uppath = './'.C('upload_path').'/'; $uppath_s = './'.C...
PHP
<?php class VodAction extends BaseAction{ // 影片列表 public function show(){ $admin = array(); //获取地址栏参数 $admin['cid']= $_REQUEST['cid']; $admin['continu'] = $_REQUEST['continu']; $admin['status'] = intval($_REQUEST['status']); $admin['player'] = trim($_REQUEST['player']); $admin['stars'] = in...
PHP
<?php class CreateAction extends BaseAction{ //构造函数 public function _initialize(){ $_SESSION[C('USER_AUTH_KEY')] = "ffvod";// 无需权限认证 parent::_initialize(); $this->assign($this->Lable_Style()); $this->assign("waitSecond",C('url_time')); } //组合需要生成的资讯列表并缓存 public function newslis...
PHP
<?php class DataAction extends BaseAction{ // 数据库备份展示 public function show(){ $rs = new Model(); $list = $rs->query('SHOW TABLES FROM '.C('db_name')); $tablearr = array(); foreach ($list as $key => $val) { $tablearr[$key] = current($val); } $this->assign('list_table',...
PHP
<?php class AdsAction extends BaseAction{ // 广告列表 public function show(){ $rs = D("Ads"); $list = $rs->order('ads_id desc')->select(); $this->assign('list_ads',$list); $this->display('./Public/system/ads_show.html'); } // 添加广告 public function add(){ $this->display('./Public/s...
PHP
<?php class SpecialAction extends BaseAction{ // 显示专题 public function show(){ //获取地址栏参数 $admin['cid']= $_REQUEST['cid']; $admin['continu'] = $_REQUEST['continu']; $admin['status'] = intval($_REQUEST['status']); $admin['player'] = trim($_REQUEST['player']); $admin['stars'] = intval($_REQUEST['...
PHP
<?php class LoginAction extends Action{ //默认操作 public function index(){ if (!$_SESSION['AdminLogin']) { header("Content-Type:text/html; charset=utf-8"); echo('请从后台管理入口登录。'); exit(); } if ($_SESSION[C('USER_AUTH_KEY')]) { redirect("?s=Admin-Index"); } $this->display('./Public/sy...
PHP
<?php class InstallAction extends Action{ public function _initialize() { if(is_file('./Runtime/Install/install.lock')){ $this->assign("waitSecond",60); $this->error('Sorry,您已经安装了飞飞PHP影视系统 V'.C('ffvod_version').' 版<br />重新安装请先删除 Runtime/install/install.lock 文件。'); } } public function inde...
PHP
<?php class SlideAction extends BaseAction{ // 显示幻灯 public function show(){ $rs = D("Slide"); //更新前台缓存 $list = $rs->where('slide_status = 1')->order('slide_oid asc')->select(); if($list){ foreach($list as $key=>$val){ $list[$key]['slide_pic'] = ff_img_url($list[$key]['slide_pic']); ...
PHP
<?php class CacheAction extends BaseAction{ //缓存管理列表 public function show(){ $this->display('./Public/system/cache_show.html'); } //清除系统缓存AJAX public function del(){ import("ORG.Io.Dir"); $dir = new Dir; $this->ppvod_list(); @unlink('./Runtime/~app.php'); @unlink('./Runtime/~r...
PHP
<?php class CjAction extends BaseAction{ public function show(){ dump('预留功能'); } // 添加编辑采集节点 public function add(){ dump('预留功能'); exit(); $rs = D("Cj"); $cj_id = intval($_GET['id']); $cj_mod = trim($_GET['mod']); $where = array(); if($cj_id){ if(!$cj_mod){ $where['cj_id'] = ...
PHP
<?php class XmlAction extends BaseAction{ // 资源列表 public function show(){ $this->assign('jumpurl',F('_xml/xucai')); $this->display('./Public/system/xml_show_list.html'); } // FeiFei备用库 public function feifei(){ $cai = D('Cai'); $xml = $cai->xml_httpurl('feifei'); if ($xml) { $thi...
PHP
<?php class TagAction extends BaseAction{ // 显示标签列表 public function show(){ //生成查询参数 $admin['p'] = ''; //组合分页信息 $limit = C('url_num_admin'); $rs = new Model() ; $count = $rs->query("select count(1) as count from (select * from ".C('db_prefix')."tag group by tag_sid,tag_name ) aa"); $co...
PHP
<?php class PicAction extends BaseAction{ //下载远程图片 public function down(){ C('upload_http',1); $img = D('Img'); $rs = D("Vod"); if('fail'==trim($_GET['id'])){ $rs->execute('update '.C('db_prefix').'vod set vod_pic=REPLACE(vod_pic,"httpf://", "http://")'); } $count = $rs->where('Left(vod_pi...
PHP
<?php class ListAction extends BaseAction{ // 显示分类 public function show(){ $sid = $_GET['sid']; if ($sid) { $where['list_sid'] = $sid; } $rs = D("Admin.List"); $list = $rs->where($where)->order('list_oid asc')->select(); if($list){ $this->assign('listtree',list_to_tree($list,'l...
PHP