//file_put_contents($zbp->usersdir . 'cache/now.xml', $r); $nowxml = $r; $checkbegin = true; } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; $newversion = AppCentre_GetHttpContent(APPCENTRE_SYSTEM_UPDATE . ($zbp->Config('AppCentre')->checkbeta == true ? '?beta' : '')); ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle; ?> </div> <div class="SubMenu"><?php AppCentre_SubMenus(3); ?> </div> <div id="divMain2"> <form method="post" action=""> <p> <?php if ($zbp->version >= 150101 && (int) $zbp->option['ZC_LAST_VERSION'] < 150101) { echo '<input id="updatenow" type="button" onclick="location.href=\'?updatedb\'" value="升级数据库结构" />'; } ?> </p><hr/> <table border="1" width="100%" cellspacing="0" cellpadding="0" class="tableBorder tableBorder-thcenter">
if(GetVars('act')=='logout'){ $zbp->Config('AppCentre')->username=''; $zbp->Config('AppCentre')->password=''; $zbp->SaveConfig('AppCentre'); $zbp->SetHint('good','您已退出"应用中心"商城.'); Redirect('./main.php'); die; } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle;?></div> <div class="SubMenu"><?php AppCentre_SubMenus(9);?></div> <div id="divMain2"> <?php if(!$zbp->Config('AppCentre')->username||!$zbp->Config('AppCentre')->password){ ?> <form action="?act=login" method="post"> <table style="line-height:3em;" width="100%" border="0"> <tr height="32"> <th align="center">请填写您的应用中心帐号和密码 </th> </tr> <tr height="32"> <td align="center"> 账号: <input type="text" name="app_username" value="" style="width:35%"/></td> </tr> <tr height="32"> <td align="center"> 密码: <input type="password" name="app_password" value="" style="width:35%" /></td>
} if (count($_POST) > 0) { $zbp->SetHint('good'); Redirect('./main.php'); } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle; ?> </div> <div class="SubMenu"><?php AppCentre_SubMenus(GetVars('method', 'GET') == 'check' ? 2 : 1); ?> </div> <div id="divMain2"> <?php $method = GetVars('method', 'GET'); if (!$method) { $method = 'view'; } Server_Open($method); ?> <script type="text/javascript"> window.plug_list = "<?php echo AddNameInString($option['ZC_USING_PLUGIN_LIST'], $option['ZC_BLOG_THEME']); ?>
$app->description=trim($_POST['app_description']); $app-> SaveInfoByXml(); $zbp->SetHint('good', '提交成功!<a href="submit.php?type=plugin&id=' . $app->id . '">现在立刻上传到应用中心!</a>'); Redirect($_SERVER["HTTP_REFERER"]); } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle;?></div> <div class="SubMenu"><?php AppCentre_SubMenus(GetVars('id','GET')==''?5:'');?></div> <div id="divMain2"> <form method="post" action=""> <table border="1" width="100%" cellspacing="0" cellpadding="0" class="tableBorder tableBorder-thcenter"> <tr> <th width='28%'> </th> <th> </th> </tr> <tr> <td><p><b>· 插件ID</b><br/> <span class="note"> 插件ID为插件的目录名,且不能重复.ID名只能用字母数字和下划线的组合.</span></p></td> <td><p> <input id="app_id" name="app_id" style="width:550px;" type="text" value="<?php echo $app->id;?>" <?php if($app->id)echo 'readonly="readonly"';?> /> </p></td> </tr>
} if(count($_POST)>0){ $zbp->SetHint('good'); Redirect('./main.php'); } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle;?></div> <div class="SubMenu"><?php AppCentre_SubMenus(GetVars('method','GET')=='check'?2:1);?></div> <div id="divMain2"> <?php $method=GetVars('method','GET'); if(!$method)$method='view'; Server_Open($method); ?> <script type="text/javascript"> window.plug_list = "<?php echo AddNameInString($option['ZC_USING_PLUGIN_LIST'],$option['ZC_BLOG_THEME'])?>"; window.signkey = '<?php echo $zbp->GetToken()?>'; </script> <script type="text/javascript">ActiveLeftMenu("aAppCentre");</script> <script type="text/javascript">AddHeaderIcon("<?php echo $bloghost . 'zb_users/plugin/AppCentre/logo.png';?>");</script> </div> </div>
$zbp->SaveConfig('AppCentre'); $zbp->SetHint('good', '您已退出"应用中心"商城.'); Redirect('./main.php'); die; } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle; ?> </div> <div class="SubMenu"><?php AppCentre_SubMenus(9); ?> </div> <div id="divMain2"> <?php if (!$zbp->Config('AppCentre')->shop_username || !$zbp->Config('AppCentre')->shop_password) { ?> <form action="?act=shoplogin" method="post"> <table style="line-height:3em;" width="100%" border="0"> <tr height="32"> <th align="center">请填写您在"<a href="http://app.rainbowsoft.org/?shop&type=account" target="_blank">应用中心</a>"的购买者账号(Email)和密码 </th> </tr> <tr height="32"> <td align="center"> 账号: <input type="text" name="shop_username" value="" style="width:35%"/></td>
$app->description = trim($_POST['app_description']); $app->SaveInfoByXml(); $zbp->SetHint('good', '提交成功!<a href="submit.php?type=plugin&id=' . $app->id . '">现在立刻上传到应用中心!</a>'); Redirect($_SERVER["HTTP_REFERER"]); } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle; ?> </div> <div class="SubMenu"><?php AppCentre_SubMenus(GetVars('id', 'GET') == '' ? 5 : ''); ?> </div> <div id="divMain2"> <form method="post" action=""> <table border="1" width="100%" cellspacing="0" cellpadding="0" class="tableBorder tableBorder-thcenter"> <tr> <th width='28%'> </th> <th> </th> </tr> <tr> <td><p><b>· 插件ID</b><br/> <span class="note"> 插件ID为插件的目录名,且不能重复.ID名只能用字母数字和下划线的组合.</span></p></td> <td><p> <input id="app_id" name="app_id" style="width:550px;" type="text" value="<?php
} } if (!$s) { $s = '{"id":"未提交","author":"未提交","modified":"未提交"}'; } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle; ?> </div> <div class="SubMenu"><?php AppCentre_SubMenus(''); ?> </div> <div id="divMain2"> <form method="post" action=""> <table class="tableFull tableBorder tableBorder-thcenter"> <tr><th colspan="2"> 拟提交发布或更新的应用信息<a href="<?php echo GetVars('type', 'GET') == 'plugin' ? 'plugin' : 'theme'; ?> _edit.php?id=<?php echo $app->id; ?> ">[编辑]</a></th></tr>
$zbp->SaveConfig('AppCentre'); $zbp->SetHint('good', '您已退出APP应用中心.'); Redirect('./setting.php'); die; } require $blogpath . 'zb_system/admin/admin_header.php'; require $blogpath . 'zb_system/admin/admin_top.php'; ?> <div id="divMain"> <div class="divHeader"><?php echo $blogtitle; ?> </div> <div class="SubMenu"><?php AppCentre_SubMenus(4); ?> </div> <div id="divMain2"> <form action="?act=save" method="post"> <table width="100%" border="0"> <tr height="32"> <th colspan="2" align="center">设置 </td> </tr> <tr height="32"> <td width="30%" align="left"><p><b>· 启用自动检查更新</b><br/> <span class="note"> 在进入后台时会检查应用更新和系统更新 </span></p></td> <td><input id="app_enabledcheck" name="app_enabledcheck" type="text" value="<?php echo $zbp->Config('AppCentre')->enabledcheck;