123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link href="<?php echo WEB_SITE_GLOBAL ?>/img/admin/style.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/jquery-1.7.1.min.js"></script>
- <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/over.js"></script>
- <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/admin.js"></script>
- <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/calendar.js"></script>
- </head>
- <body>
- <div class="main_content new_product">
- <div class="crumbbar"><a href="/index/main_navon">快速导航</a> » <?php echo $data['map']; ?></div>
- <div class=" clearfix">
- <div class="globle_list">
- <table width="100%" border="0" cellpadding="2" cellspacing="6" style="_margin-left:-10px; ">
- <tbody><tr>
- <td><table width="100%" border="0" cellpadding="2" cellspacing="6">
- <tbody><tr>
- <td>
- <?php echo $data['success']; ?>
- <div id="append">
- </div>
- <form action="/index/main_user_manage_update" method="post" onsubmit="return user_form()">
- <input type="hidden" name="uid" value="<?php echo $data['user']['uid']; ?>"/>
- <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
- <tbody><tr class="header">
- <td colspan="2">用户信息</td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>用户组:</b><br/><span class="smalltxt">用户所在用户组</span></td>
- <td class="altbg2">
- <select name="groupid">
- <optgroup label="会员用户组">
- <?php foreach($data['group']['user'] as $k1=>$v1): ?>
- <option <?php if( $data['user']['groupid']==$v1['groupid'] ): ?>selected<?php endif; ?> value="<?php echo $v1['groupid']; ?>"><?php echo $v1['grouptitle']; ?></option>
- <?php endforeach; ?>
- </optgroup>
- <optgroup label="系统用户组">
- <?php foreach($data['group']['sys'] as $k1=>$v1): ?>
- <option <?php if( $data['user']['groupid']==$v1['groupid'] ): ?>selected<?php endif; ?> value="<?php echo $v1['groupid']; ?>"><?php echo $v1['grouptitle']; ?></option>
- <?php endforeach; ?>
- </optgroup>
- <optgroup label="特殊用户组">
- <?php foreach($data['group']['vip_user'] as $k1=>$v1): ?>
- <option <?php if( $data['user']['groupid']==$v1['groupid'] ): ?>selected<?php endif; ?> value="<?php echo $v1['groupid']; ?>"><?php echo $v1['grouptitle']; ?></option>
- <?php endforeach; ?>
- </optgroup>
- </select>
- </td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>专家:</b><br/><span class="smalltxt">设置专家</span></td>
- <td class="altbg2">普通用户:<input type="radio" value="0" name="expert" <?php if( $data['user']['expert']==0 ): ?>checked<?php endif; ?> />
- 专家:<input type="radio" value="1" name="expert" <?php if( $data['user']['expert']==1 ): ?>checked<?php endif; ?> />
- </td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>积分:</b><br/><span class="smalltxt">积分,可以修改</span></td>
- <td class="altbg2"><input class="text" name="credit1" value="<?php echo $data['user']['credit1']; ?>"/></td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>性别:</b><br/><span class="smalltxt">用户性别设置</span></td>
- <td class="altbg2">
- <input class="radio" id="pmcenteryes" type="radio" <?php if( $data['user']['gender']==1 ): ?>checked<?php endif; ?> value="1" name="gender"/><label for="pmcenteryes">帅哥</label>
- <input class="radio" id="pmcenterno" type="radio" <?php if( $data['user']['gender']==0 ): ?>checked<?php endif; ?> value="0" name="gender"/><label for="pmcenterno">美女</label>
- </td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>生日:</b><br/><span class="smalltxt">用户出生日期</span></td>
- <td class="altbg2"><input class="text" name="bday" value="<?php echo $data['user']['bday']; ?>" onclick="showcalendar();"/></td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>联系电话:</b><br/><span class="smalltxt">手机、固话都可以</span></td>
- <td class="altbg2"><input class="text" name="phone" value="<?php echo $data['user']['phone']; ?>"/></td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>QQ:</b><br/><span class="smalltxt">QQ号码</span></td>
- <td class="altbg2"><input class="text" name="qq" value="<?php echo $data['user']['qq']; ?>"/></td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>MSN:</b><br/><span class="smalltxt">MSN账号</span></td>
- <td class="altbg2"><input class="text" name="msn" value="<?php echo $data['user']['msn']; ?>"/></td>
- </tr>
- <tr>
- <td class="altbg1" width="45%"><b>个性签名:</b><br/><span class="smalltxt">设置个性签名</span></td>
- <td class="altbg2"><textarea class="textarea" cols="50" rows="2" name="signature"><?php echo $data['user']['signature']; ?></textarea></td>
- </tr>
- <?php if( $data['user']['expert'] ): ?>
- <tr>
- <td class="altbg1" width="45%"><b>擅长分类:</b><br/><span class="smalltxt">设置擅长分类</span></td>
- <td class="altbg2">
- <div>已选中:
- <?php if( !empty($data['user']['cids_json']) ): ?>
- <?php foreach($data['user']['cids_json'] as $k1=>$v1): ?>
- <span style="color:red"><?php echo $v1; ?></span>
- <?php endforeach; ?>
- <?php endif; ?>
- </div>
- <?php foreach($data['categoryinfo']['top'] as $k1=>$v1): ?>
- <input type="checkbox" id="cids[]" name="cids[]" value="<?php echo $v1->id; ?>:<?php echo $v1->name; ?>" /><?php echo $v1->name; ?>
- <?php endforeach; ?>
- <?php foreach($data['categoryinfo']['second'] as $k1=>$v1): ?>
- <input type="checkbox" id="cids[]" name="cids[]" value="<?php echo $v1->id; ?>:<?php echo $v1->name; ?>" /><?php echo $v1->name; ?>
- <?php endforeach; ?>
- </td>
- </tr>
- <?php endif; ?>
- </tbody></table>
- <br/>
- <center><input type="submit" class="button" name="submit" value="提 交"/></center><br/>
- </form>
- </td></tr>
- </tbody>
- </table>
- </td></tr></tbody></table>
- </div>
- </div>
- </div>
- </body>
- </html>
|