<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML 
xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE><?php echo $GLOBALS['_vars']['company']; ?>留言</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=keywords content="<?php echo $GLOBALS['_vars']['spacename']; ?>">
<META name=description 
content="<?php echo $GLOBALS['_vars']['spacename']; ?>">
<LINK 
rel=stylesheet type=text/css href="/member/space/company/img/css.css">
<LINK 
rel=stylesheet type=text/css href="/member/space/company/images/style.css">
<META name=GENERATOR content="MSHTML 8.00.6001.19400"></HEAD>
<BODY>
<SCRIPT type=text/javascript>
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
   thisObj.className = "active"; 
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
  }else{
   tabList[i].className = "normal"; 
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
  }
} 
}
</SCRIPT>

<SCRIPT language=javascript type=text/javascript 
src="/member/space/company/img/dedeajax2.js"></SCRIPT>
<?php include $this->CompilerInclude("header.htm");
 ?>
<DIV class=newsa>
<DIV style="BORDER-LEFT: #c9dce2 1px solid; WIDTH: 673px">
<DIV class=tab><A class="tab-a" href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>"><B 
class="tab-icon icon-txt"></B><STRONG>首页</STRONG> </A><A 
id=exp-album-enter-top class="tab-b" 
href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>&action=introduce"><B 
class="tab-icon icon-img"></B><STRONG>医院简介</STRONG> </A><A 
id=exp-album-enter-top class="tab-c " 
href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>&action=article"><B 
class="tab-icon icon-img2"></B><STRONG>分享经验</STRONG> </A><A 
id=exp-album-enter-top class="tab-d on " 
href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>&action=guestbook"><B 
class="tab-icon icon-img3"></B><STRONG>在线留言</STRONG> </A></DIV></DIV>
<DIV class=alfeta>
<DIV class=alfet>
<DIV class=hei-10></DIV>
<DIV class=infobox>
   <div style="height:20px;"></div>
		<div class="altop"><h1><?php echo $GLOBALS['_vars']['company']; ?>留言</h1></div>
			

  
  	
	<div class="neir">
	 <DIV class=content-listblock-text>
<!--begin-->
	  <div class="text">
		<!--begin comment-->
		<div class="comment bb">
		  <div id="newgbook"></div>
      <?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>
		  <a name="1"></a>
		  <dl id="dl_1">
			<dd class="comment-pic left">
				<?php if($fields['face']==''){ 
                   $face=($fields['sex']=='女')? 'templets/images/dfgirl.png' : 'templets/images/dfboy.png';
                  echo  '<img src="'.$face.'" width="50" height="50"/>';
                 }else{ 
                     echo  '<img src="'.$fields['face'].'" width="50" height="50" alt="'.$fields['uname'].'的头像" />';
                 } ?>
			</dd>
			<dd>
			  <a href="index.php?uid=<?php echo $fields['userid']; ?>" class="big b"><?php echo $fields['uname']; ?></a>
			  <span class="gray"><?php echo MyDate('Y-m-d H:i',$fields['dtime']); ?></span>
			</dd>
			<dd class="comment-content">
			  <div><?php echo Text2Html($fields['msg']); ?></div>
			  <span id="s_1"></span>
			  <div id="r_1">
				<div class="re-comment" style="display:none;">
				  <b><a href='index.php?uid=<?php echo $fields['uname']; ?>'></a> 于  回复：</b>
				  <div id="r_content_1"></div>
				</div>
			  </div>
			</dd>
		  </dl>
		  <?php
}
}?>
		  <div class="big"><div class="pages"><?php
$atts = array();
$atts['tagname'] = 'pagelist';
 echo $this->refObj->GetPageList($atts,$this->refObj,$fields); 
?>
</div></div>
		  <div class="post-comment">
			<h5>发表留言：</h5>
			<div>
       <form action="index.php" name="form1" method="post">
			  <input type="hidden" id="guser" value="<?php echo $GLOBALS['_vars']['uname']; ?>" />
        <input type="hidden" name="action" value="guestbooksave" />
        <input type="hidden" name="uidnum" value="<?php echo $GLOBALS['_vars']['mid']; ?>" />
        <input type="hidden" name="uid" value="<?php echo $GLOBALS['_vars']['userid']; ?>" />
        <input type="hidden" name="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" />
			</div>
			<div>标题：<input name="title" type="text" id="title"   class="ip" style="width:250px;height:15px;" /></div>
			<div>
			  <textarea class="ip" name="msg" id="msg" style="width:95%;height:8em"></textarea>
			  <span style="margin-top:-1em;padding:3px; text-align:right; width:200px; position:absolute">
			</div>
			</span>
			</div>
			<!--table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" style="margin-top:10px;">
   		<tr> 
     		<td height="26" width="15%">你的昵称：</td>
     		<td><input name="uname" type="text" id="uname" value="<?php if(isset($cfg_ml->M_LoginID) && $cfg_ml->M_LoginID!='') echo $cfg_ml->M_LoginID; ?>" style="width:250px;" /></td>
   		</tr>
   		<tr> 
     		<td height="26">电子邮箱：</td>
     		<td><input name="email" type="text" id="email" style="width:250px;" /></td>
   		</tr>
   		<tr> 
     		<td height="26">即时通信软件：</td>
     		<td><input name="qq" type="text" id="qq" style="width:250px;" />
       （注明ＱＱ或ＭＳＮ等）</td>
   		</tr>
   		<tr> 
     		<td height="26">联系电话：</td>
     		<td><input name="tel" type="text" id="tel" style="width:250px;" /></td>
   		</tr>
   		</table-->
			<table border="0" cellspacing="0" cellpadding="5" style="height:36px;">
				<tr>
			 	<td>&nbsp;验证码：</td>
			 	<td><input name="vdcode" type="text" id="vdcode" size="10" style="height:16px;width:60px;" class="ip" /></td>
			 	<td><img src='../include/vdimgck.php' width='60px' height='20px'  /></td>
       	<td>&nbsp;<input name="sbbt" type="submit" value="发送留言" style="width:60px;height:22px"  /></td>
			 </tr>
			</table>
		  </div>
		  </form>
		  <div class="c"></div>
		</div>
		<!--begin comment-->
	  </div>
	  <!--end-->
</DIV>



 </DIV>




</DIV>

</DIV>
<DIV class=aright>
<DIV class=artop>
<H3><?php echo $GLOBALS['_vars']['company']; ?></H3>
<DIV class=artcon>
<DIV class=artconl><A class=userface 
href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>"><IMG 
src="/member/space/company/img/dfboy.png" width=120 height=120></A></DIV>
<DIV class=artconr><A href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>" 
target=_blank><?php echo $GLOBALS['_vars']['company']; ?></A>
<P><?php echo $GLOBALS['_vars']['spacenews']; ?></P>
<P><A class=useract-pm 
href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>&action=guestbook"><IMG src="/member/space/company/img/znt.gif"></A></P>
<P>医院类型:<?php echo $GLOBALS['_vars']['vocation']; ?></P></DIV></DIV>
<DIV class=arjj>
<UL>
  <LI><SPAN>特殊专科：</SPAN><?php echo $GLOBALS['_vars']['product']; ?></LI>
  <LI><SPAN>电话：</SPAN><?php echo $GLOBALS['_vars']['tel']; ?></LI>
  <LI><SPAN>网址：</SPAN><?php echo $GLOBALS['_vars']['url']; ?></LI>
  <LI><SPAN>地址：</SPAN><?php echo $GLOBALS['_vars']['address']; ?></LI>
  </UL></DIV>
<DIV class=guanzhu><SPAN class=STYLE2><A class=useract-pm 
href="index.php?uid=<?php echo $GLOBALS['_vars']['userid_e']; ?>&action=guestbook">在线咨询</A></SPAN></DIV>
<DIV style="MARGIN-LEFT: 10px" class=guanzhu><SPAN 
class=STYLE2><a href="edit_space_info.php" target="_blank">专栏管理</a></SPAN></DIV></DIV>

<DIV class=usr-explist><A href="/member/article_add.php"><IMG 
src="http://www.120jk.cn/templets/default/img/240_90.png"></A></DIV></DIV></DIV>
<script type="text/javascript" src="<?php echo $GLOBALS['_vars']['sign']; ?>"></script> 
<!-- //底部模板 -->
<?php include $this->CompilerInclude("footer.htm");
 ?>
</BODY></HTML>