<?php } elseif ($curr_script == 'viewfile') { ?> <div class="adm_cp_btn" id="r_btn" onclick="cp_btn_click('r_btn','adm_cp');"><img src="images/admin_icon.gif" align="absmiddle" border="0" /><?php echo __('cp_manage'); ?> </div> <div class="adm_cp" id="adm_cp" style="display:none"> <fieldset><legend><?php echo __('diy_viewfile_tips'); ?> </legend> <form id="frm_viewfile"> <input type="hidden" name="action" value="cp_viewfile" /> <input type="checkbox" name="setting[open_viewfile_file_list]" value="1" <?php echo ifchecked($settings[open_viewfile_file_list], 1); ?> /><?php echo __('file_list'); ?> <input type="button" onclick="cp_viewfile()" id="submit" title="<?php echo __('submit'); ?> " value="Go" /> <input type="button" onclick="cp_btn_click('adm_cp','r_btn');" title="<?php echo __('close'); ?> " value=" X " /> <span id="callback_msg" class="txtred"></span> </form>
ifchecked($settings['sitemap'], 'sitemap'); ifchecked($settings['watermark'], 'watermark'); ifchecked($settings['wap_enable'], 'wap_enable'); ifchecked($settings['banip_enable'], 'banip_enable'); ifchecked($settings['spam_enable'], 'spam_enable'); ifchecked($settings['rss_enable'], 'rss_enable'); ifchecked($settings['use_html'], 'use_html'); ifchecked($settings['permalink'], 'permalink'); ifchecked($settings['jumpwww'], 'jumpwww'); ifchecked($settings['comment_email_reply'], 'comment_email_reply'); ifchecked($settings['seccode'], 'seccode'); ifchecked($settings['seccode_adulterate'], 'seccode_adulterate'); ifchecked($settings['seccode_ttf'], 'seccode_ttf'); ifchecked($settings['seccode_angle'], 'seccode_angle'); ifchecked($settings['seccode_color'], 'seccode_color'); ifchecked($settings['seccode_size'], 'seccode_size'); ifchecked($settings['seccode_shadow'], 'seccode_shadow'); ifchecked($settings['dateconvert'], 'dateconvert'); $waterpos = $tb_spam_level = array(); $settings['server_timezone'] < 0 ? ${'zone_0' . str_replace('.', '_', abs($settings['server_timezone']))} = 'checked' : (${'zone_' . str_replace('.', '_', $settings['server_timezone'])} = 'selected'); $waterpos[$settings['waterpos']] = 'checked'; $tb_spam_level[$settings['tb_spam_level']] = 'checked'; $avatar_level[$settings['avatar_level']] = 'checked'; $gd_version = gd_version(); $gd_version = $gd_version ? '服务器GD版本:' . $gd_version : '服务器不支持GD,因此该功能无法正常使用.'; if (in_array($action, array_flip($settingsmenu))) { $subnav = $settingsmenu[$action]; } $navlink_L = $subnav ? ' » <span>' . $subnav . '</span>' : ''; cpheader($subnav); include template('configurate');
echo __('no'); ?> </td> </tr> <tr> <td><span class="bold">上传时可直接指定公共分类</span>: <br /><span class="txtgray">用户可以直接在上传文件时把文件指定在相应的分类中</span></td> <td><input type="radio" name="setting[upload_cate]" value="2" <?php echo ifchecked(2, $settings['upload_cate']); ?> />必填 <input type="radio" name="setting[upload_cate]" value="1" <?php echo ifchecked(1, $settings['upload_cate']); ?> />选填 <input type="radio" name="setting[upload_cate]" value="0" <?php echo ifchecked(0, $settings['upload_cate']); ?> />不显示</td> </tr> <tr> <td> </td> <td><input type="submit" class="btn" value="<?php echo __('btn_update'); ?> "/></td> </tr> </table> </form> </div> </div> <?php
</td> </tr> <tr> <td align="right" width="20%"><?php echo __('account_type'); ?> :</td> <td width="100%"><input type="radio" name="income_type" value="alipay" id="a1" <?php echo ifchecked('alipay', $income_type, 'str'); ?> /><label for="a1"><?php echo __('alipay'); ?> </label> <input type="radio" name="income_type" value="tenpay" id="a2" <?php echo ifchecked('tenpay', $income_type, 'str'); ?> /><label for="a2"><?php echo __('tenpay'); ?> </label> </td> </tr> <tr> <td align="right"><?php echo __('account_name'); ?> :</td> <td><input type="text" name="income_name" value="<?php echo $income_name; ?> " size="30" maxlength="50" /></td>
if (empty($t)) { $userBindService = L::loadClass('WeiboUserBindService', 'sns/weibotoplatform/service'); /* @var $userBindService PW_WeiboUserBindService */ $userBindList = $userBindService->getBindList($winduid); $weiboLoginService = L::loadClass('WeiboLoginService', 'sns/weibotoplatform/service'); /* @var $weiboLoginService PW_WeiboLoginService */ $isNotResetPassword = $weiboLoginService->isLoginUserNotResetPassword($winduid); $syncer = L::loadClass('WeiboSyncer', 'sns/weibotoplatform'); /* @var $syncer PW_WeiboSyncer */ $syncSetting = $syncer->getUserWeiboSyncSetting($winduid); ifchecked('article_issync', $syncSetting['article']); ifchecked('diary_issync', $syncSetting['diary']); ifchecked('photos_issync', $syncSetting['photos']); ifchecked('group_issync', $syncSetting['group']); ifchecked('transmit_issync', $syncSetting['transmit']); ifchecked('comment_issync', $syncSetting['comment']); require_once R_P . 'require/showimg.php'; list($faceurl) = showfacedesign($winddb['icon'], 1, 'm'); require_once uTemplate::printEot('profile_weibobind'); pwOutPut(); } elseif ($t == 'tounbind') { define('AJAX', 1); if (!$siteBindService->isBind($type)) { Showmsg('站点还未支持该类型站点的绑定,或者绑定类型错误'); } $userBindService = L::loadClass('WeiboUserBindService', 'sns/weibotoplatform/service'); /* @var $userBindService PW_WeiboUserBindService */ if (!$userBindService->isBind($winduid, $type)) { Showmsg('你还未绑定该站点,无需创建密码'); } $weiboLoginService = L::loadClass('WeiboLoginService', 'sns/weibotoplatform/service');
<tr> <td><span class="bold"><?php echo __('open_plugins_last'); ?> </span>: <br /><span class="txtgray"><?php echo __('open_plugins_last_tips'); ?> </span></td> <td><input type="radio" name="setting[open_plugins_last]" value="1" <?php echo ifchecked(1, $setting['open_plugins_last']); ?> /> <?php echo __('yes'); ?> <input type="radio" name="setting[open_plugins_last]" value="0" <?php echo ifchecked(0, $setting['open_plugins_last']); ?> /> <?php echo __('no'); ?> </td> </tr> </table> <table align="center" width="100%" cellpadding="4" cellspacing="4" border="0" class="td_line"> <tr> <td colspan="5"><span class="bold"><?php echo __('current_plugin'); ?> </span>:<br /><span class="txtgray"><?php echo __('current_plugin_tips'); ?>
?> </label></li> <?php if ($auth[open_user_hidden]) { ?> <li><?php echo __('user_hidden'); ?> : <input type="radio" name="user_hidden" value="1" id="uh1" <?php echo ifchecked($file[user_hidden], 1); ?> ><label for="uh1"><?php echo __('yes'); ?> </label> <input type="radio" name="user_hidden" value="0" id="uh2" <?php echo ifchecked($file[user_hidden], 0); ?> ><label for="uh2"><?php echo __('no'); ?> </label></li> <?php } ?> <li><?php echo __('file_time'); ?> : <?php echo $file['file_time']; ?> </li>
<tr> <td width="40%"><span class="bold"><?php echo __('open_switch_tpls'); ?> </span>: <br /><span class="txtgray"><?php echo __('open_switch_tpls_tips'); ?> </span></td> <td><input type="radio" name="setting[open_switch_tpls]" value="1" <?php echo ifchecked(1, $settings['open_switch_tpls']); ?> /> <?php echo __('yes'); ?> <input type="radio" name="setting[open_switch_tpls]" value="0" <?php echo ifchecked(0, $settings['open_switch_tpls']); ?> /> <?php echo __('no'); ?> </td> </tr> <tr> <td> </td> <td><input type="submit" class="btn" value="<?php echo __('btn_submit'); ?> " /> <input type="button" class="btn" onclick="scan_tpl();" value="检测模板入库" /></td> </tr> </table> </form>
echo __('no'); ?> </td> </tr> <tr> <td><span class="bold">系统是否记录积分日志</span>:<br/><span class="txtgray">记录积分日志可以详细地了解整个系统的用户文件下载情况,但是会占用一部分系统数据库性能,如果不需要可以关闭。</span> </td> <td><input type="radio" name="setting[close_credit_log]" value="1" <?php echo ifchecked(1, $settings['close_credit_log']); ?> /> <?php echo __('yes'); ?> <input type="radio" name="setting[close_credit_log]" value="0" <?php echo ifchecked(0, $settings['close_credit_log']); ?> /> <?php echo __('no'); ?> </td> </tr> <tr> <td> </td> <td><input type="submit" class="btn" value="<?php echo __('btn_submit'); ?> "/></td> </tr> </table> </form>
} } elseif ($t == 'weibo') { if (empty($_POST['step'])) { $privacyCurrent = ''; $weiboCurrent = ' class="current"'; $userdb = $db->get_one("SELECT article_isfeed,diary_isfeed,photos_isfeed,group_isfeed,self_isfollow,friend_isfollow,cnlesp_isfollow, article_isfollow,diary_isfollow, photos_isfollow, group_isfollow" . $appendFetchField . " FROM pw_ouserdata WHERE uid=" . S::sqlEscape($winduid)); if (!$userdb) { $userdb = array('article_isfeed' => 1, 'diary_isfeed' => 1, 'photos_isfeed' => 1, 'group_isfeed' => 1, 'self_isfollow' => 1, 'friend_isfollow' => 1, 'cnlesp_isfollow' => 1, 'article_isfollow' => 1, 'diary_isfollow' => 1, 'photos_isfollow' => 1, 'group_isfollow' => 1); } ifchecked('article_isfeed', $userdb['article_isfeed']); ifchecked('diary_isfeed', $userdb['diary_isfeed']); ifchecked('photos_isfeed', $userdb['photos_isfeed']); ifchecked('group_isfeed', $userdb['group_isfeed']); ifchecked('self_isfollow', $userdb['self_isfollow']); ifchecked('friend_isfollow', $userdb['friend_isfollow']); ifchecked('cnlesp_isfollow', $userdb['cnlesp_isfollow']); /*ifchecked('article_isfollow', $userdb['article_isfollow']); ifchecked('diary_isfollow', $userdb['diary_isfollow']); ifchecked('photos_isfollow', $userdb['photos_isfollow']); ifchecked('group_isfollow', $userdb['group_isfollow']);*/ // $at_isfeed = $userdb['at_isfeed']; /* platform weibo app */ $siteBindService = L::loadClass('WeiboSiteBindService', 'sns/weibotoplatform/service'); /* @var $siteBindService PW_WeiboSiteBindService */ if ($siteBindService->isOpen()) { $bindTypes = array(); foreach ($siteBindService->getBindTypes() as $key => $config) { $bindTypes[$key . '_isfollow'] = $config['title']; } } $isSiteBindWeibo = $siteBindService->isOpen();
<tr> <td> <input type="text" name="show_order[]" value="<?php echo $v['show_order']; ?> " style="width:20px; text-align:center" maxlength="2" /> <input type="hidden" name="advids[]" value="<?php echo $v['advid']; ?> " /> </td> <td><input type="checkbox" name="is_hidden[<?php echo $v['advid']; ?> ]" value="1" <?php echo ifchecked($v['is_hidden'], 1); ?> /></td> <td><input type="text" name="adv_titles[]" value="<?php echo $v['title']; ?> " size="30" /></td> <td><?php echo __($v['adv_position']); ?> </td> <td><?php echo __($v['adv_type']); ?> </td> <td><?php
<tr> <td width="40%"><b><?php echo __('open_phpdisk_client'); ?> </b>: <br /><span class="txtgray"><?php echo __('open_phpdisk_client_tips'); ?> </span></td> <td><input type="radio" name="setting[open_phpdisk_client]" value="1" <?php echo ifchecked(1, $settings['open_phpdisk_client']); ?> /><?php echo __('yes'); ?> <input type="radio" name="setting[open_phpdisk_client]" value="0" <?php echo ifchecked(0, $settings['open_phpdisk_client']); ?> /><?php echo __('no'); ?> </td> </tr> <tr> <td><b><?php echo __('client_api_key'); ?> </b>:<br /><span class="txtgray"><?php echo __('client_api_key_tips'); ?> </span></td> <td><textarea name="setting[client_api_key]" id="client_api_key" cols="60" rows="10" style="width:500px;height:100px"><?php
<tr> <td><span class="bold"><?php echo __('uc_credit_exchange'); ?> </span>: <br /><span class="txtgray"><?php echo __('uc_credit_exchange_tips'); ?> </span></td> <td><input type="radio" name="setting[uc_credit_exchange]" value="1" <?php echo ifchecked(1, $setting['uc_credit_exchange']); ?> /> <?php echo __('yes'); ?> <input type="radio" name="setting[uc_credit_exchange]" value="0" <?php echo ifchecked(0, $setting['uc_credit_exchange']); ?> /> <?php echo __('no'); ?> </td> </tr> <tr> <td> </td> <td><input type="submit" class="btn" value="<?php echo __('btn_submit'); ?> "/></td> </tr> </table> </form>
<tr> <td width="40%"><span class="bold"><?php echo __('open_multi_server'); ?> </span>: <br /><span class="txtgray"><?php echo __('open_multi_server_tips'); ?> </span></td> <td><input type="radio" name="setting[open_multi_server]" value="1" <?php echo ifchecked(1, $settings['open_multi_server']); ?> /><?php echo __('yes'); ?> <input type="radio" name="setting[open_multi_server]" value="0" <?php echo ifchecked(0, $settings['open_multi_server']); ?> /><?php echo __('no'); ?> </td> </tr> <tr> <td> </td> <td><input type="submit" class="btn" value="<?php echo __('btn_submit'); ?> "/> <input type="button" class="btn" value="<?php echo __('btn_back'); ?> " onclick="javascript:history.back();" /></td>
</select> </td> </tr> <tr> <td><?php echo __('nav_position'); ?> :</td> <td><input type="radio" name="nav_position" value="top" id="top" <?php echo ifchecked('top', $nav_position, 'str'); ?> /><label for="top"><?php echo __('position_top'); ?> </label> <input type="radio" name="nav_position" value="bottom" id="bottom" <?php echo ifchecked('bottom', $nav_position, 'str'); ?> /><label for="bottom"><?php echo __('position_bottom'); ?> </label></td> </tr> <tr> <td> </td> <td><input type="submit" class="btn" value="<?php echo __('btn_submit'); ?> "/> <input type="button" class="btn" value="<?php echo __('btn_back'); ?> " onclick="javascript:history.back();" /></td>