} $c .= '<br class="clear" /><br /><br /></div>'; if ($user_id > 0 && $user_id == $cuid && isset($_GET['fzgl']) && $_GET['fzgl'] == 1) { $js_c .= ' $(\'#open_ldiv\').click(); $(\'.close\').click(function(){ location.href=\'' . $f . '\'; }); $(\'#fz_add_l\').click(function(){ var c=$.trim($(\'#q\').val()); if(c!=\'\'){ $(\'#q\').val(\'\'); $(\'#fz_div\').load(\'j/ffz.php\', {n:c}); } return false; }); $(\'.fz_del\').click(function(){ var id=$(this).attr(\'jq_id\'); $(\'#fz_div\').load(\'j/ffz.php?del=\'+id); return false; });'; $c .= '<div class="overlay" id="overlay_newct"><h3>分组管理</h3><div class="overlay_cont"><input type="text" id="q" class="text"/> <a href="#" id="fz_add_l">添加</a><div id="fz_div" style="padding-top: 20px;">'; if (isset($a_fz)) { foreach ($a_fz as $v) { $c .= $v['name'] . '[<a href="#" style="color: #f00;" class="fz_del" jq_id="' . $v['fzid'] . '">删除</a>] '; } } $c .= '</div></div></div>'; } echo yjl_gehtml(yjl_userl($cuid, 'hy'), $c, '好友');
$c .= '<option value="' . $k . '">' . $v . '</option>'; } $c .= '</select></td> </tr> <tr> <th>姓名</th> <td><input type="text" class="text" name="name" /><span class="form_tip"><b>*</b></span></td> </tr> <tr> <th>电话</th> <td><input type="text" class="text" name="mobile" /></td> </tr> <tr> <th>地址</th> <td><input type="text" class="text" name="address" /></td> </tr> <tr> <th>备注</th> <td><input type="text" class="text" name="bz" /></td> </tr> <tr> <th></th> <td><input type="submit" value="增 加" class="submit sub_reg" /></td> </tr> </table> </form> </div>'; } $c .= '</div>'; echo yjl_gehtml(yjl_userl($cuid, 'zx'), $c, '装修通讯录');