| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?php
- //decode by http://dezend.qiling.org QQ 2859470
- include mymps_tpl('inc_head_jq');
- echo '<style>' . "\r\n" . '.mymps_td td{ background-color:#ffffff}' . "\r\n" . 'tr{ background-color:#f5fbff}' . "\r\n\r\n" . '/*上传图片*/' . "\r\n" . '.onea_dd{ display:block; float:left; margin-right:15px; margin-left:15px; margin-bottom:5px; margin-top:5px;}' . "\r\n" . '.onea_dd .viewarea{ margin-bottom:10px;}' . "\r\n" . '.onea_dd .viewarea img{ width:108px; height:108px; border:1px #ddd solid;}' . "\r\n" . '.onea_dd .a_ddarea{position: relative;float: left;width:110px;height:32px;text-align:center;overflow: hidden;display:block;}' . "\r\n" . '.onea_dd .a_ddarea img{width: 110px;height: 32px;margin-left:auto;margin-right:auto;cursor:pointer;}' . "\r\n" . '.onea_dd .comment-pic-upd{position: absolute;top: 0;left: 0;z-index: 100;width: 110px;height: 32px;filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);filter:alpha(opacity=0);-moz-opacity:0;-khtml-opacity: 0;opacity:0;background: none;border: none;cursor: pointer;}' . "\r\n" . '</style>' . "\r\n" . '<script type="text/javascript" src="../template/default/js/a_ddimgview.js"></script>' . "\r\n" . '<form action="?action=edit" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();";>' . "\r\n\t" . '<input name="catid" value="';
- echo $post[catid];
- echo '" type="hidden" />' . "\r\n" . ' <input name="do" value="post" type="hidden">' . "\r\n" . ' <input name="id" value="';
- echo $post[id];
- echo '" type="hidden">' . "\r\n" . ' <input name="ismember" value="';
- echo $post[ismember];
- echo '" type="hidden">' . "\r\n" . ' <input name="userid" value="';
- echo $post[userid];
- echo '" type="hidden">' . "\r\n" . ' <input name="page" value="';
- echo $page;
- echo '" type="hidden">' . "\r\n" . '<div id="';
- echo MPS_SOFTNAME;
- echo '">' . "\r\n" . '<table width="100%" cellspacing="0" cellpadding="0" class="vbm">' . "\r\n" . ' <tr class="firstr">' . "\r\n" . ' <td colspan="5">' . "\r\n" . ' <div class="left"><a href="javascript:collapse_change(\'1\')">基本信息</a></div>' . "\r\n" . ' <div class="right"><a href="javascript:collapse_change(\'1\')"><img id="menuimg_1" src="template/images/menu_reduce.gif"/></a></div>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tbody id="menu_1" class="mymps_td">' . "\r\n\t" . ' <tr>' . "\r\n" . ' <td width="100" height="25"><font color=red>(*)</font>信息类别:</td>' . "\r\n" . ' <td>' . "\r\n" . ' <select name="catid">' . "\r\n" . ' ';
- echo cat_list('category', 0, $post[catid]);
- echo ' </select>' . "\r\n\t\t" . '<警告:若您要调整的类别与原类别应用不同的信息模型,请勿修改>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25"><font color=red>(*)</font>所属地区:</td>' . "\r\n" . ' <td>' . "\r\n\t\t" . '<select name="areaid">' . "\r\n" . ' ';
- echo cat_list('area', 0, $post[areaid], true, 1);
- echo ' </select>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25"><font color=red>(*)</font>信息标题:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<input type="text" name="title" class="text" value="';
- echo $post[title];
- echo '" style="width:350px"/></td>' . "\r\n" . ' </tr>' . "\r\n\t" . ' ';
- if (is_array($post[mymps_extra_value])) {
- foreach ($post[mymps_extra_value] as $k => $v) {
- echo "\t" . ' <tr>' . "\r\n" . ' <td height="25">';
- echo $v['required'] == 1 ? '<font color=red>(*)</font>' : '';
- echo $v['title'];
- echo ':</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t";
- echo $v['value'];
- echo '</td>' . "\r\n" . ' </tr>' . "\r\n\t" . ' ';
- }
- }
- echo ' ';
- if ($cat[if_mappoint] == 1) {
- echo ' <tr>' . "\r\n" . ' <td height="25">地图坐标:</td>' . "\r\n" . ' <td><input name="mappoint" id="mappoint" type="text" class="text" value="';
- echo $post[mappoint];
- echo '" style="width:125px"/><input name="markmap" type="button" value="点击标注" class="gray" onclick="javascript:setbg(\'地图标注\',500,300,\'../map.php?action=markpoint&width=500&height=300&p=';
- echo $post[mappoint];
- echo '\')"></td>' . "\r\n" . ' </tr>' . "\r\n" . ' ';
- }
- echo ' <tr>' . "\r\n" . ' <td height="25">有效期:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ';
- echo $post[GetInfoLastTime];
- echo ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' </tbody>' . "\r\n" . ' </table>' . "\r\n\t" . ' <div class="mymps_td" style="margin-top:3px">' . "\r\n\t" . ' ';
- echo $acontent;
- echo "\t" . ' </div>' . "\r\n" . '</div>' . "\r\n" . '<div id="';
- echo MPS_SOFTNAME;
- echo '">' . "\r\n" . '<table width="100%" cellspacing="0" cellpadding="0" class="vbm">' . "\r\n" . ' <tr class="firstr">' . "\r\n" . ' <td colspan="3">' . "\r\n" . ' <div class="left"><a href="javascript:collapse_change(\'2\')">联系方式</a></div>' . "\r\n" . ' <div class="right"><a href="javascript:collapse_change(\'2\')"><img id="menuimg_2" src="template/images/menu_reduce.gif"/></a></div>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tbody id="menu_2" class="mymps_td">' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25" width="100"><font color=red>(*)</font>联系人:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<input type="text" name="contact_who" class="text" value="';
- echo $post[contact_who];
- echo '"/> </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25"><font color=red>(*)</font>手机或电话:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<input type="text" name="tel" class="text" value="';
- echo $post[tel];
- echo '"/> </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">微信号:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<input type="text" class="text" value="';
- echo $post[email];
- echo '" name="email"/> </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">QQ:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<input type="text" class="text" value="';
- echo $post[qq];
- echo '" name="qq"/> </td>' . "\r\n" . ' </tr>' . "\r\n" . ' </tbody>' . "\r\n" . ' </table>' . "\r\n" . '</div>' . "\r\n";
- if ($post[upload_img]) {
- echo '<div id="';
- echo MPS_SOFTNAME;
- echo '">' . "\r\n" . '<table width="100%" cellspacing="0" cellpadding="0" class="vbm">' . "\r\n" . ' <tr class="firstr">' . "\r\n" . ' <td colspan="3">' . "\r\n" . ' <div class="left"><a href="javascript:collapse_change(\'3\')">相关图片</a></div>' . "\r\n" . ' <div class="right"><a href="javascript:collapse_change(\'3\')"><img id="menuimg_3" src="template/images/menu_reduce.gif"/></a></div>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tbody id="menu_3" class="mymps_td">' . "\r\n" . ' <tr class="mymps_td">' . "\r\n" . ' <td colspan="2">' . "\r\n\t\t";
- echo $post[upload_img];
- echo ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' </tbody>' . "\r\n" . ' </table>' . "\r\n" . '</div>' . "\r\n";
- }
- echo '<div id="';
- echo MPS_SOFTNAME;
- echo '">' . "\r\n" . '<table width="100%" cellspacing="0" cellpadding="0" class="vbm">' . "\r\n" . ' <tr class="firstr">' . "\r\n" . ' <td colspan="3">' . "\r\n" . ' <div class="left"><a href="javascript:collapse_change(\'4\')">其他设置</a></div>' . "\r\n" . ' <div class="right"><a href="javascript:collapse_change(\'4\')"><img id="menuimg_4" src="template/images/menu_reduce.gif"/></a></div>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tbody id="menu_4" class="mymps_td">' . "\r\n" . ' ';
- echo $post[manage_pwd];
- echo ' <tr>' . "\r\n" . ' <td height="25" width="150">信息状态:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t";
- echo GetInfoLevel($post[info_level]);
- echo ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25" width="150">标题套红:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<select name="ifred">' . "\r\n" . ' ' . "\t" . '<option value="1" ' . "\r\n" . ' ';
- if ($post[ifred] == 1) {
- echo 'style="background-color:#6EB00C;color:white" selected';
- }
- echo ' >套红</option>' . "\r\n" . ' <option value="0" ' . "\r\n" . ' ';
- if ($post[ifred] == 0) {
- echo 'style="background-color:#6EB00C;color:white" selected';
- }
- echo '>不套红</option>' . "\r\n" . ' </select>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25" width="150">标题加粗:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t" . '<select name="ifbold">' . "\r\n" . ' ' . "\t" . '<option value="1" ' . "\r\n" . ' ';
- if ($post[ifbold] == 1) {
- echo 'style="background-color:#6EB00C;color:white" selected';
- }
- echo '>加粗</option>' . "\r\n" . ' <option value="0" ' . "\r\n" . ' ';
- if ($post[ifbold] == 0) {
- echo 'style="background-color:#6EB00C;color:white" selected';
- }
- echo '>不加粗</option>' . "\r\n" . ' </select>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">是否大类置顶:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t";
- echo $post[upgrade_type];
- echo ' ';
- echo GetUpgradeTime($post[upgrade_time]);
- echo '(若选择不置顶,可不选择该项目)' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">是否小类置顶:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t";
- echo $post[upgrade_type_list];
- echo ' ';
- echo GetUpgradeTime($post[upgrade_time_list], 'upgrade_time_list');
- echo '(若选择不置顶,可不选择该项目)' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">是否首页置顶:</td>' . "\r\n" . ' <td>' . "\r\n" . ' ' . "\t";
- echo $post[upgrade_type_index];
- echo ' ';
- echo GetUpgradeTime($post[upgrade_time_index], 'upgrade_time_index');
- echo '(若选择不置顶,可不选择该项目)' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">发布时间:</td>' . "\r\n" . ' <td>' . "\r\n" . ' <input name="begintimestr" value="';
- echo GetTime($post['begintime']);
- echo '" class="text">' . "\r\n" . ' <label for="refresh"><input name="refresh" value="1" type="checkbox" class="checkbox" id="refresh">刷新为当前时间?</label>' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' <tr>' . "\r\n" . ' <td height="25">浏览次数:</td>' . "\r\n" . ' <td>' . "\r\n" . ' <input name="hit" value="';
- echo $post['hit'];
- echo '" class="text">' . "\r\n" . ' </td>' . "\r\n" . ' </tr>' . "\r\n" . ' </tbody>' . "\r\n" . ' </table>' . "\r\n" . '</div>' . "\r\n" . '<center><input type="button" onclick="window.open(\'';
- echo $post[uri];
- echo '\')" target=_blank value="预 览" class="gray large" />' . "\r\n" . ' ' . "\r\n" . '<input type="submit" name="mymps" value="修 改" class="mymps large" />' . "\r\n" . ' <input type="button" onClick="location.href=\'?page=';
- echo $page;
- echo '\'" value="返 回" class="gray large"> ' . "\r\n" . '</center>' . "\r\n" . '</form>' . "\r\n";
- mymps_admin_tpl_global_foot();
|