<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	exit;
}
?>
<br>
<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tit1"><? echo $lang['tmp.info1']?></td>
  </tr>
  <tr>
    <td width="25%" class="forumrow" valign="center" style="text-align:center;">
      <input type="submit" name="Submit" value="<? echo $lang['tmp.info2']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
   </td>
    <td class="forumrow" width="75%"><? echo $lang['tmp.info3']?></td>
  </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
<tr align="center">
<td height="25" align="center" <?if($Ac_type=='add' or $doaction=='edit'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>  width="10%"><a href="?Ac_type=add"><font color="<?if($Ac_type=='add' or $doaction=='edit'){echo 'red';}else{echo '#000000';}?>"><?if($doaction=='edit'){echo $lang['tpl.str2'];}else{echo $lang['tmp.info4'];}?></font></a></td>
<td height="25" align="center" <?if($Ac_type=='newlist' or $Ac_type=='' && $doaction==''){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?> width="10%"><a href="?Ac_type=newlist"><font color="<?if($Ac_type=='newlist' or $Ac_type=='' && $doaction==''){echo 'red';}else{echo '#000000';}?>"><?=$lang['tmp.info5']?></font></a></td>
<td width="10%" align="center" <?if($Ac_type=='dddd'){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>><a href="dv_news_demo.php" target="_blank"><?=$lang['tmp.info6']?></a></td>

</tr>
</table>
<?if($Ac_type=="add" or $doaction=="edit"){//添加首页调用?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <? if($doaction=="edit"){?>
	  <form name="form1" method="post" action="?action=editok&id=<? echo $id?>">
	  <input type="hidden" name="doaction" value="">
  <?
		if(!empty($record_row))	{
			if(is_array($record_row)){
				$n=count($record_row);
				for($i=0;$i<$n-1;$i++){
					if(strcmp($i,$id)===0){
						$edit_val=explode($lang['exp.chr'],$record_row[$i]);
						$link_str=$edit_val[1];
						if(strpos($link_str,'\\')!==false){
							$link_str=str_replace('\\','',$link_str);
						}
						if($edit_val[3]==1){
							$f_1=$edit_val[12];$f_2=$edit_val[13];$f_3=$edit_val[14];$f_4=$edit_val[15];$f_5=$edit_val[16];$f_6=$edit_val[17];$f_7=$edit_val[18];$f_8=$edit_val[19];$f_9=$edit_val[20];$stan_boarder=$edit_val[17];
						}
						elseif($edit_val[3]==3){
							$b_1=$edit_val[12];$b_2=$edit_val[13];$b_3=$edit_val[14];$b_4=$edit_val[15];$b_5=$edit_val[16];$b_6=$edit_val[17];$b_7=$edit_val[18];$b_8=$edit_val[19];$b_9=$edit_val[20];$b_10=$edit_val[21];$boarder_stan_boarder=$edit_val[15];
						}
						elseif($edit_val[3]==4){
							$m_1=$edit_val[12];$m_2=$edit_val[13];
						}
						elseif($edit_val[3]==5){
							$a_1=$edit_val[12];$a_2=$edit_val[13];$a_3=$edit_val[14];$ad_boarder=$edit_val[14];
						}
						elseif($edit_val[3]==6){
							$s_1=$edit_val[12];$s_2=$edit_val[13];$s_3=$edit_val[14];$s_4=$edit_val[15];$s_5=$edit_val[16];$s_6=$edit_val[17];$s_7=$edit_val[18];$s_8=$edit_val[19];$s_9=$edit_val[20];$s_10=$edit_val[21];$s_11=$edit_val[22];$s_12=$edit_val[23];$s_13=$edit_val[24];$sec_tranboarder=$edit_val[15];
						}
					}
				}
			}
		}
  }else{?>
	  <form name="form1" method="post" action="?action=addok">
	  <input type="hidden" name="doaction" value="">
  <?}?>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
  <tr>
    <td colspan="2" class="tdtit"><?echo $lang['tmp.info19']?></td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow" style="text-align:right;"><?echo $lang['tmp.info20']?>&nbsp;&nbsp;</td>
    <td width="75%" align="left" class="forumrow">
	<input type="text" name="sign_name" size="20" value="<?=$edit_val[0]?>" onkeyup="print_value(this.value);"><?echo $lang['tmp.info21']?></td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow1" style="text-align:right;"><?echo $lang['tmp.info22']?>&nbsp;&nbsp;</td>
    <td width="75%" align="left" class="forumrow1">
	<?if($doaction=="edit"){?>
		<input type="text" name="transfer_code" size="100" readonly value="<?echo htmlentities($link_str)?>">
	<?}else{?>
		<input type="text" name="transfer_code" size="100" readonly value="&lt;script src=&quot;../dv_news.php?get_name[]=<? echo $sign_name;?>&quot;&gt;&lt;/script&gt;">
	<?}?>
</td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow" style="text-align:right;"><?echo $lang['tmp.info23']?>&nbsp;&nbsp;</td>
    <td width="75%" align="left" class="forumrow">
	<input type="text" name="transfer_explain" size="60" value="<?=$edit_val[2]?>"><?echo $lang['tmp.info24']?></td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow1" style="text-align:right;"><?echo $lang['tmp.info25']?>&nbsp;&nbsp;</td>
    <td width="75%" align="left" class="forumrow1">
	<select name="transfer_type" id="transfer_type" onchange="show(this.value);">
		<option value="0"><?echo $lang['transfer_type.info1']?></option>
		<option value="1" <?if($edit_val[3]==1) echo "selected"?>><?echo $lang['transfer_type.info2']?></option>
		<option value="2" <?if($edit_val[3]==2) echo "selected"?>><?echo $lang['transfer_type.info3']?></option>
		<option value="3" <?if($edit_val[3]==3) echo "selected"?>><?echo $lang['transfer_type.info4']?></option>
		<option value="4" <?if($edit_val[3]==4) echo "selected"?>><?echo $lang['transfer_type.info5']?></option>
		<option value="5" <?if($edit_val[3]==5) echo "selected"?>><?echo $lang['transfer_type.info6']?></option>
		<option value="6" <?if($edit_val[3]==6) echo "selected"?>><?echo $lang['transfer_type.info7']?></option>
	</select>
	</td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow" style="text-align:right;"><?echo $lang['tmp.info26']?>&nbsp;&nbsp;</td>
    <td width="75%" align="left" class="forumrow">
	<input type="text" name="dataup_space" size="30" value="<?=$edit_val[5]?>"><?echo $lang['tmp.info27']?></td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow1" style="text-align:right;"><?echo $lang['tmp.info28']?>&nbsp;&nbsp;</td>
    <td width="75%" align="left" class="forumrow1">
	<select name="time_format">
	<option value="0" <?if(intval($edit_val[4])==0) echo "selected"?>><?echo $lang['str.info1']?></option>
	<option value="1" <?if(intval($edit_val[4])==1) echo "selected"?>><?echo $lang['str.info2']?></option>
	<option value="2" <?if(intval($edit_val[4])==2) echo "selected"?>><?echo $lang['str.info3']?></option>
	<option value="3" <?if(intval($edit_val[4])==3) echo "selected"?>><?echo $lang['str.info4']?></option>
	<option value="4" <?if(intval($edit_val[4])==4) echo "selected"?>><?echo $lang['str.info5']?></option>
    </select><?echo $lang['tmp.info29']?></td>
  </tr>
  <tr>
    <td width="25%" height="22" class="forumrow" style="text-align:right;" valign="top"><?echo $lang['tmp.info30']?></td>
    <td id="transfer_type_tdHeight" width="75%"  align="left" bgcolor="#F1F3F5">
<!--调用类型->未选取-->
<div id="ID_0"></div>
<!--调用类型->信息调用-->
<div id="ID_2"></div>
<?//调用类型->帖子调用?>
<div id="ID_1" style="visibility: hidden; background-color: #EBF2F3; layer-background-color: #FFFFFF; border: 1px none #000000">
	<table style="width:100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder" height="208">
	  <tr>
		<td colspan="3" class="tit1"><?=$lang['tpl.str1']?> <? echo $lang['transfer_type.info2']?></td>
	  </tr>
	  <tr>
		<td class="td1" height="25">
		  <?echo $lang['forum.info1']?>
		  <input name="record_num" type="text" id="record_num" size="8" value="<?=$f_1?>">
		</td>
		<td class="td1" height="25"><?echo $lang['forum.info2']?>
		<input name="title_len" type="text" id="title_len" size="8" value="<?=$f_2?>"></td>
		<td class="td1" height="25"><?echo $lang['forum.info3']?>
		<select name="forum_taxis" id="forum_taxis">
			<option value="0" <?if($f_3===0) echo "selected"?>><?echo $lang['str.info6']?></option>
			<option value="1" <?if($f_3==1) echo "selected"?>><?echo $lang['str.info7']?></option>
			<option value="2" <?if($f_3==2) echo "selected"?>><?echo $lang['str.info8']?></option>
			<option value="3" <?if($f_3==3) echo "selected"?>><?echo $lang['str.info9']?></option>
		</select></td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><?echo $lang['forum.info4']?>
		<input name="limit_day" type="text" id="limit_day" size="8" value="<?=$f_4?>"><?echo $lang['forum.info5']?></td>
		</tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><?echo $lang['forum.info6']?>
		<select name="view_type" id="view_type">
			<option value="0" <?if($f_5===0) echo "selected"?>><?echo $lang['str.info10']?></option>
			<option value="1" <?if($f_5==1) echo "selected"?>><?echo $lang['str.info11']?></option>
			<option value="2" <?if($f_5==2) echo "selected"?>><?echo $lang['str.info12']?></option>
		</select><?echo $lang['forum.info7']?></td>
		</tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><?echo $lang['forum.info8']?>
		<select name="stan_boarder" id="stan_boarder">
		<?
		echo  boardjumplist($stan_boarder,$lang['str.info46']);
		  ?>
		</select></td>
		</tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><?echo $lang['forum.info9']?>
		<select name="boarder_setup" id="boarder_setup">
			<option value="0" <?if($f_7===0) echo "selected"?>><?echo $lang['str.info13']?></option>
			<option value="1" <?if($f_7==1) echo "selected"?>><?echo $lang['str.info14']?></option>
			<option value="2" <?if($f_7==2) echo "selected"?>><?echo $lang['str.info15']?></option>
		</select></td>
		</tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><?echo $lang['forum.info10']?>
		<select name="boarder_limit" id="boarder_limit">
			<option value="0" <?if($f_8===0) echo "selected"?>><?echo $lang['str.info16']?></option>
			<option value="1" <?if($f_8==1) echo "selected"?>><?echo $lang['str.info17']?></option>
		</select><?echo $lang['forum.info11']?></td>
		</tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><?echo $lang['forum.info12']?>
		<input name="solitude_userid" type="text" id="solitude_userid" size="30" value="<?=$f_9?>"><?echo $lang['forum.info13']?></td>
		</tr>
	</table>
</div>
<?//调用类型->版块调用?>
<div id="ID_3" style=" visibility: hidden; background-color: #EBF2F3; layer-background-color: #FFFFFF; border: 1px none #000000">
	<table style="width:100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
	  <tr>
		<td colspan="2" class="tit1"><?=$lang['tpl.str1']?> <? echo $lang['transfer_type.info4']?></td>
	  </tr>
	  <tr>
		<td class="td1" colspan="2" height="25"><?echo $lang['border.info1']?> 
		<select name="view_mode" id="view_mode">
		<option value="1" <?if($b_1==1)echo "selected"?>><?echo $lang['str.info18']?></option>
		<option value="2" <?if($b_1==2)echo "selected"?>><?echo $lang['str.info19']?></option>
	</select>&nbsp;&nbsp;&nbsp;&nbsp;
	<input name="map_framenum" type="text" id="map_framenum" size="8" value="<?=$b_2?>"><?echo $lang['border.info2']?>
	</td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="2"></td></tr>
	  <tr>
		<td class="td1" height="25"><?echo $lang['border.info3']?>
		<input name="limit_boarder_tran" type="text" id="limit_boarder_tran" size="8" value="<?=$b_3?>"><?echo $lang['border.info4']?></td>
		<td class="td1" height="25">&nbsp;</td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="2"></td></tr>
	  <tr>
		<td class="td1" colspan="2" height="25"><?echo $lang['border.info5']?>
		<select name="boarder_stan_boarder" id="boarder_stan_boarder">
		<?
		echo  boardjumplist($boarder_stan_boarder,$lang['str.info46']);
		  ?>
		</select>
		<input type="radio" name="view_boarder" checked value="0" <?if($b_5=="0")echo "checked"?>><?echo $lang['border.info6']?>
		<input type="radio" name="view_boarder" value="1" <?if($b_5=="1")echo "checked"?>><?echo $lang['border.info7']?>
		</td>
	  </tr>
	</table>
</div>
<?//调用类型->会员调用?>
<div id="ID_4" style="visibility: hidden; background-color: #EBF2F3; layer-background-color: #FFFFFF; border: 1px none #000000">
	<table style="width:100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
	  <tr>
		<td colspan="2" class="tit1"><?=$lang['tpl.str1']?> <? echo $lang['transfer_type.info5']?></td>
	  </tr>
	  <tr>
		<td class="td1" height="25"><?echo $lang['mem.info1']?>
		<input name="view_num" type="text" id="view_num" size="8" value="<?=$m_1?>"></td>
		<td class="td1" height="25"> <?echo $lang['mem.info2']?>
		<select name="member_taxis" id="member_taxis">
		<option value="0" <?if($m_2===0)echo "selected"?>><?echo $lang['str.info20']?></option>
		<option value="1" <?if($m_2==1)echo "selected"?>><?echo $lang['str.info21']?></option>
		<option value="2" <?if($m_2==2)echo "selected"?>><?echo $lang['str.info22']?></option>
		<option value="3" <?if($m_2==3)echo "selected"?>><?echo $lang['str.info23']?></option>
		<option value="4" <?if($m_2==4)echo "selected"?>><?echo $lang['str.info24']?></option>
		<option value="5" <?if($m_2==5)echo "selected"?>><?echo $lang['str.info25']?></option>
		<option value="6" <?if($m_2==6)echo "selected"?>><?echo $lang['str.info26']?></option>
		<option value="7" <?if($m_2==7)echo "selected"?>><?echo $lang['str.info27']?></option>
		<option value="8" <?if($m_2==8)echo "selected"?>><?echo $lang['str.info28']?></option>
		</select></td>
	  </tr>
	</table>
</div>
<?//调用类型->公告调用?>
<div id="ID_5" style="visibility: hidden; background-color: #EBF2F3; layer-background-color: #FFFFFF; border: 1px none #000000">
	<table style="width:100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
	  <tr>
		<td colspan="2" class="tit1"><?=$lang['tpl.str1']?> <? echo $lang['transfer_type.info6']?></td>
	  </tr>
	  <tr>
		<td class="td1" height="25"><? echo $lang['ad.info1']?>
		<input name="ad_view_num" type="text" id="ad_view_num" size="8" value="<?=$a_1?>"></td>
		<td class="td1" height="25"><? echo $lang['ad.info2']?>
		<input name="ad_titlelen" type="text" id="ad_titlelen" size="8"  value="<?=$a_2?>"></td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="2"></td></tr>
	  <tr>
		<td colspan="2" class="td1" height="25"><? echo $lang['ad.info3']?>
		<select name="ad_boarder" id="ad_boarder">
		<?
		echo  boardjumplist($ad_boarder,$lang['str.info46']);
		  ?>
		  </select></td>
	  </tr>
	</table>
</div>
<?//调用类型->展区调用?>
<iframe width="260" height="165" id="colourPalette" src="../images/post/nc_selcolor.htm" style="visibility:hidden; position: absolute; left: 0px; top: 0px;border:1px gray solid" frameborder="0" scrolling="no" ></iframe>
<div id="ID_6" style=" visibility: hidden; background-color: #EBF2F3; layer-background-color: #FFFFFF; border: 1px none #000000">
	<table style="width:100%"  border="0" cellspacing="0" cellpadding="0" class="tableborder">
	  <tr>
		<td colspan="3" class="tit1"><?=$lang['tpl.str1']?> <? echo $lang['transfer_type.info7']?></td>
		</tr>
	  <tr>
		<td class="td1" height="25"><? echo $lang['setout.info23']?>
		<input name="sec_viewnum" type="text" id="sec_viewnum" size="8" value="<?=$s_1?>"></td>
		<td class="td1" height="25"><? echo $lang['setout.info24']?>
		<input name="sec_rownum" type="text" id="sec_rownum" size="8"  value="<?=$s_2?>"></td>
		<td class="td1" height="25"><? echo $lang['setout.info25']?>
		<input name="sec_titlelen" type="text" id="sec_titlelen" size="8"  value="<?=$s_3?>"></td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td colspan="3" class="td1"><? echo $lang['setout.info26']?>
		<select name="sec_tranboarder" id="sec_tranboarder">
		<?
		echo  boardjumplist($sec_tranboarder,$lang['str.info46']);
		  ?>
		</select>&nbsp;&nbsp;<? echo $lang['setout.info27']?>
		  <select name="sec_boarderset" id="sec_boarderset">
		<option value="0" <?if($s_5===0)echo "selected"?>><?echo $lang['str.info29']?></option>
		<option value="1" <?if($s_5==1)echo "selected"?>><?echo $lang['str.info30']?></option>
		<option value="2" <?if($s_5==2)echo "selected"?>><?echo $lang['str.info31']?></option>
		<option value="3" <?if($s_5==3)echo "selected"?>><?echo $lang['str.info32']?></option>
		<option value="4" <?if($s_5==4)echo "selected"?>><?echo $lang['str.info33']?></option>
		  </select></td>
		</tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" colspan="3" height="25"><? echo $lang['setout.info28']?>
		<select name="sec_boarderlimit" id="sec_boarderlimit">
		<option value="0" <?if($s_6===0)echo "selected"?>><?echo $lang['str.info34']?></option>
		<option value="1" <?if($s_6==1)echo "selected"?>><?echo $lang['str.info35']?></option>
		</select><? echo $lang['setout.info29']?></td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" colspan="3" height="25"><? echo $lang['setout.info30']?>
		<select name="sec_filetype" id="sec_filetype">
		<option value="all"><?echo $lang['str.info36']?></option>
		<option value="0" <?if($s_7===0)echo "selected"?>><?echo $lang['str.info37']?></option>
		<option value="1" <?if($s_7==1)echo "selected"?>><?echo $lang['str.info38']?></option>
		<option value="2" <?if($s_7==2)echo "selected"?>><?echo $lang['str.info39']?></option>
		<option value="3" <?if($s_7==3)echo "selected"?>><?echo $lang['str.info40']?></option>
		<option value="4" <?if($s_7==4)echo "selected"?>><?echo $lang['str.info41']?></option>
		</select></td>
	  </tr>
	  <tr><td bgcolor="#ffffff" height="1" colspan="3"></td></tr>
	  <tr>
		<td class="td1" height="25" colspan="3"><? echo $lang['setout.info31']?>
		<select name="sec_viewtaxis" id="sec_viewtaxis">
		<option value="0" <?if($s_8===0)echo "selected"?>><?echo $lang['str.info42']?></option>
		<option value="1" <?if($s_8==1)echo "selected"?>><?echo $lang['str.info43']?></option>
		<option value="2" <?if($s_8==2)echo "selected"?>><?echo $lang['str.info44']?></option>
		<option value="3" <?if($s_8==3)echo "selected"?>><?echo $lang['str.info45']?></option>
		</select></td>
	  </tr>
	</table>
</div>
<?//调用结束;?>
	</td>
  </tr>
</table>
		<table border="0" cellspacing="1" cellpadding="1"  align="center" class="tableborder">
		  <tr>
			<td colspan="7" class="tit1"><? echo $lang['tmp.info31']?></td>
		  </tr>
		  <tr>
			<td width="25%" height="22" class="forumrow" style="text-align:right;" valign="top"><?echo $lang['tmp.info32']?>&nbsp;&nbsp;</td>
			<td width="75%" align="left" class="forumrow">
			  <textarea name="tmp_start" rows="5" style="width:99%;"><?=$edit_val[6]?></textarea><a href="javascript:admin_Size(-3,'tmp_start')"><img src="images/minus.gif" unselectable="on" border='0'></a> <a href="javascript:admin_Size(3,'tmp_start')"><img src="images/plus.gif" unselectable="on" border='0'></a>
		</td>
		  </tr>
		  <tr>
			<td width="25%" height="22" class="forumrow1" style="text-align:right;" valign="top"><?echo $lang['tmp.info33']?>&nbsp;&nbsp;
			<fieldset title=""><?//变量说明部分?>
				<legend>&nbsp;<?echo $lang['tmp.info34']?>&nbsp;</legend>
				<div id="ID_Display" style="display:none" align="left">
				<div id="ID_1_1" align="left" class="td1">
						<? $id11=$lang['forum.info14']."<br>".$lang['forum.info15']."<br>".$lang['forum.info16']."<br>".$lang['forum.info17']."<br>".$lang['forum.info18']."<br>".$lang['forum.info19']."<br>".$lang['forum.info20']."<br>".$lang['forum.info21']."<br>".$lang['forum.info22']."<br>".$lang['forum.info23']."<br>".$lang['forum.info24'];
						echo $id11;
						//帖子调用;?>
				</div>
				<div id="ID_1_2" align="left" class="td1">
					<? $id12=$lang['info.str1']."<br>".$lang['info.str2']."<br>".$lang['info.str3']."<br>".$lang['info.str4']."<br>".$lang['info.str5']."<br>".$lang['info.str6']."<br>".$lang['info.str7']."<br>".$lang['info.str8']."<br>".$lang['info.str9']."<br>".$lang['info.str10'];
					echo $id12;//信息调用;
					?>
				</div>
				<div id="ID_1_3" align="left" class="td1">
						<?		
					$id13=$lang['border.info8']."<br>".$lang['border.info9']."<br>".$lang['border.info10']."<br>".$lang['border.info11']."<br>".$lang['border.info12']."<br>".$lang['border.info13']."<br>".$lang['border.info14']."<br>".$lang['border.info15'];						
					echo $id13;//板块调用;
						?>
				</div>
				<div align="left" id="ID_1_4" class="td1">
					<? $id14=$lang['mem.info3']."<br>".$lang['mem.info4']."<br>".$lang['mem.info5']."<br>".$lang['mem.info6']."<br>".$lang['mem.info7']."<br>".$lang['mem.info8']."<br>".$lang['mem.info9']."<br>".$lang['mem.info10']."<br>".$lang['mem.info11']."<br>".$lang['mem.info12']."<br>".$lang['mem.info13']."<br>".$lang['mem.info14'];
					echo $id14;//会员调用;
					?>
				</div>
				<div align="left" id="ID_1_5" class="td1">
						<? $id15=$lang['ad.info4']."<br>".$lang['ad.info5']."<br>".$lang['ad.info6']."<br>".$lang['ad.info7']."<br>".$lang['ad.info8']."<br>".$lang['ad.info9'];
						echo $id15;//公告调用;
						?>
				</div>
				<div align="left" id="ID_1_6" class="td1">
						<?
						$id16=$lang['setout.info8']."<br>".$lang['setout.info9']."<br>".$lang['setout.info10']."<br>".$lang['setout.info11']."<br>".$lang['setout.info12']."<br>".$lang['setout.info13']."<br>".$lang['setout.info14']."<br>".$lang['setout.info15']."<br>".$lang['setout.info16']."<br>".$lang['setout.info17']."<br>".$lang['setout.info18']."<br>".$lang['setout.info19']."<br>".$lang['setout.info20']."<br>".$lang['setout.info21']."<br>".$lang['setout.info22'];
						echo $id16;	//展区调用;
					?>
				</div>
				</div>
				<div id="DisplayArea1" align="left" class="td1">
				<ol></ol>
				</div>
			</fieldset>
			</td>
			<td width="75%" align="left" valign="top" class="forumrow1">
			  <div style="display:none" class="td1">
				  <div id="id_1_1_3" class="td1">
					<fieldset title=""><?//板块说明部分?>
						<legend>&nbsp;<?echo $lang['border.info16']?>&nbsp;</legend>
						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td height="25" class="td1"><?echo$lang['border.info17']?>
							  <input name="boarder_curid" type="text" id="boarder_curid" size="40" value="<?=$b_6?>">
							</td>
						  </tr>
						  <tr><td bgcolor="#ffffff" height="1"></td></tr>
						  <tr>
							<td height="25" class="td1"><?echo$lang['border.info18']?>
							  <input name="sort_boarder_curid" type="text" id="sort_boarder_curid" size="40"  value="<?=$b_7?>">
							</td>
						  </tr>
						  <tr><td bgcolor="#ffffff" height="1"></td></tr>
						  <tr>
							<td height="25" class="td1"><?echo$lang['border.info19']?>
							  <input name="updown_space" type="text" id="updown_space" size="40"  value="<?=$b_8?>">
							</td>
						  </tr>
						  <tr><td bgcolor="#ffffff" height="1"></td></tr>
						  <tr>
							<td height="25" class="td1"><?echo$lang['border.info20']?>
							  <input name="grade_space" type="text" id="grade_space" size="40"  value="<?=$b_9?>">
							</td>
						  </tr>
						  <tr><td bgcolor="#ffffff" height="1"></td></tr>
						  <tr>
							<td height="25" class="td1"><?echo$lang['border.info21']?>
							  <input name="boarder_newline" type="text" id="boarder_newline" size="40"  value="<?=$b_10?>">
							</td>
						  </tr>
						</table>
					</fieldset>
				  </div>
				   <div id="id_1_1_6" class="td1">
					<fieldset title=""><?//展区说明部分?>
						<legend>&nbsp;<?echo $lang['border.info16']?>&nbsp;</legend>
						<table width="100%"  border="0" cellspacing="0" cellpadding="0">
						  <tr>
							<td height="25"><?echo$lang['setout.info2']?>
							  <input name="pic_width" type="text" id="pic_width" size="10" value="<?=$s_9?>"><?echo $lang['setout.info3']?>
							</td>
						  </tr>
						  <tr>
							<td height="25"><?echo$lang['setout.info4']?>
							  <input name="pic_height" type="text" id="pic_height" size="10" value="<?=$s_10?>"><?echo $lang['setout.info3']?>
							</td>
						  </tr>
						  <tr>
							<td height="25"><?echo$lang['setout.info5']?>
							  <input name="tcolor1" type="text" id="tcolor1" size="10" value="<?=$s_11?>">
								<img border=0 src="../images/post/rect.gif" style="cursor:pointer;background-Color:<?=$s_11?>;" onclick="Getcolor(this,'tcolor1');" title="<?=$lang['sys.color']?>">
							</td>
						  </tr>
						  <tr>
							<td height="25"><?echo$lang['setout.info6']?>
							  <input name="tcolor2" type="text" id="tcolor2" size="10" value="<?=$s_12?>">
							  <img border=0 src="../images/post/rect.gif" style="cursor:pointer;background-Color:<?=$s_12?>;" onclick="Getcolor(this,'tcolor2');" title="<?=$lang['sys.color']?>">
							</td>
						  </tr>
<!-- 						  <tr>
							<td height="25"><?echo$lang['setout.info7']?>
							  <input name="newline_sign" type="text" id="newline_sign" size="40" value="<?=$s_13?>">
							</td>
						  </tr> -->
						</table>					
					</fieldset>
				  </div>
			  </div>
			  <div id="DisplayArea2" class="td1"></div>
			<textarea name="tmp_body" rows="8" style="width:99%;"><?=$edit_val[7]?></textarea><a href="javascript:admin_Size(-3,'tmp_body')"><img src="images/minus.gif" unselectable="on" border='0'></a> <a href="javascript:admin_Size(3,'tmp_body')"><img src="images/plus.gif" unselectable="on" border='0'></a></td>
		  </tr>
		  <tr>
			<td width="25%" height="22" class="forumrow" style="text-align:right;" valign="top"><?echo $lang['tmp.info35']?>&nbsp;&nbsp;</td>
			<td width="75%" align="left" class="forumrow">
			<textarea name="tmp_end" rows="5" style="width:99%;"><?=$edit_val[8]?></textarea><a href="javascript:admin_Size(-3,'tmp_end')"><img src="images/minus.gif" unselectable="on" border='0'></a> <a href="javascript:admin_Size(3,'tmp_end')"><img src="images/plus.gif" unselectable="on" border='0'></a></td>
		  </tr>
		  <tr>
			<td width="75%" colspan="2" style="text-align:center;" class="forumrow1">
			<input type="submit" class="button" name="Submit" value="<? echo $lang['botton.info1']?>">&nbsp;&nbsp;
			<input type="reset" class="button"  name="Submit" value="<? echo $lang['botton.info2']?>"></td>
		  </tr>
		</table>
	  </td>
  </tr>
</form>
</table>
<?}else{?>
<table border="0" cellspacing="0" cellpadding="0"  align="center" class="tableborder">
  <form name="form2" method="post" action="?action=delok">
  <input type="hidden" name="doaction" value="">
  <tr>
    <td colspan="7" class="tdtit"><? echo $lang['tmp.info7']?></td>
  </tr>
  <tr class="forumrow2">
    <td style="text-align:center;"><? echo $lang['tmp.info8']?></td>
    <td style="text-align:center;"><? echo $lang['tmp.info9']?></td>
    <td style="text-align:center;"><? echo $lang['tmp.info10']?></td>
    <td style="text-align:center;"><? echo $lang['tmp.info11']?></td>
    <td style="text-align:center;"><? echo $lang['tmp.info12']?></td>
    <td style="text-align:center;"><? echo $lang['tmp.info13']?></td>
    <td style="text-align:center;"><? echo $lang['tmp.info14']?></td>
  </tr>
  <?
			if(!empty($record_row))	{
				if(is_array($record_row)){
				    $n=count($record_row);
				    for($i=0;$i<$n-1;$i++){
						$info_val=explode($lang['exp.chr'],$record_row[$i]);
						if(strcmp($info_val[3],"1")===0){
							$trsf_info=$lang['transfer_type.info2'];
						}
						elseif(strcmp($info_val[3],"2")===0){
							$trsf_info=$lang['transfer_type.info3'];
						}
						elseif(strcmp($info_val[3],"3")===0){
							$trsf_info=$lang['transfer_type.info4'];
						}
						elseif(strcmp($info_val[3],"4")===0){
							$trsf_info=$lang['transfer_type.info5'];
						}
						elseif(strcmp($info_val[3],"5")===0){
							$trsf_info=$lang['transfer_type.info6'];
						}
						elseif(strcmp($info_val[3],"6")===0){
							$trsf_info=$lang['transfer_type.info7'];
						}
						is_numeric($info_val[9]) AND ($info_val[9] = gmdate('Y-m-d H:i:s', $info_val[9]+getUserTimeZoneOffset()));
						is_numeric($info_val[10]) AND ($info_val[10] = gmdate('Y-m-d H:i:s', $info_val[10]+getUserTimeZoneOffset()));
			?>
  <tr class="forumrow">
    <td height="25" style="text-align:center;">
		<input type="checkbox" name="id[]" value="<?echo $i?>">
	</td>
    <td height="25" style="text-align:center;"><?=$trsf_info?></td>
    <td height="25" style="text-align:center;"><?=$info_val[0]?></td>
    <td height="25" style="text-align:center;"><?=$info_val[2]."<br><font color=999999>".$lang['tmp.info26']."</font>(<font color=ff0000>".$info_val[5]."</font>)<font color=999999>".$lang['sys.info8']."</font>"?></td>
    <td height="25" style="text-align:center;"><?=$info_val[9]."<br>".$info_val[10]?></td>
    <td height="25" style="text-align:center;"><?=$info_val[11]?></td>
    <td height="25" style="text-align:center;">
	<a href="?doaction=edit&id=<?=$i?>">[<?echo $lang['tmp.info15']?>]</a><br>
	<a href="dv_newsview.php?doaction=view&id=<?=$i?>" target="_blank">[<?echo $lang['tmp.info16']?>]</a>
	</td>
  </tr>
 <?
					}
				}
			}
?>
  <tr>
    <td colspan="7" align="left" class="forumrow1">
	<input type="submit" class="button"  name="Submit" onclick="this.form.doaction.value='del'" value="<?echo $lang['tmp.info17']?>">
    <input type="checkbox" name="checkbox" value="Y" onclick="un(this)"><?echo $lang['tmp.info18']?></td>
  </tr>
</form>
</table>
<?}?>
<script Language="JavaScript">
function show(v){
	var DivID="ID_1_"+v;
	var DivID1="ID_1_1_"+v;
	var DivID3="ID_"+v;
	var showDiv1=document.getElementById(DivID);
	var showDiv2=document.getElementById(DivID1);	
	// one 
	if (showDiv1===NaN || showDiv1===null){
		document.getElementById("DisplayArea1").style.display="none";
	}else{		
		document.getElementById("DisplayArea1").style.display="";
		document.getElementById("DisplayArea1").innerHTML=showDiv1.innerHTML;
	}
	// two
	if (showDiv2===NaN || showDiv2===null){
		document.getElementById("DisplayArea2").style.display="none";
	}else{
		document.getElementById("DisplayArea2").style.display="";
		document.getElementById("DisplayArea2").innerHTML=showDiv2.innerHTML;
	}

	//three
	for (i=1;i<7;i++){		
		var tDiv="ID_"+i;
		if (document.getElementById(tDiv)===NaN || document.getElementById(tDiv)===null){continue;}
		document.getElementById(tDiv).style.visibility="hidden";
		document.getElementById(tDiv).style.display="none";
		
	}
	document.getElementById(DivID3).style.visibility="";
	document.getElementById(DivID3).style.display="";
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function print_value(v){
	var obj = form1.transfer_code;
	if (obj){
		if (v!=''){
			obj.value = "<scr"+"ipt src=\"../dv_news.php?get_name[]="+v.toLowerCase()+"\"><\/scr"+"ipt>";
		}else{
			obj.value = "";
		}
	}
}
function ini_transfer()
{
	var obj = document.getElementById("transfer_type"); //document.all.transfer_type;
	//var obj2 = document.getElementById("transfer_type_tdHeight");
	if (obj != null){
		//obj2.height = "208";
		var id  = obj.options[obj.selectedIndex].value;
		show(id);
	}else
	{
		//obj2.height = "22";
	}
}
ini_transfer();
</script>