<?php
if( !defined('ISDVBBS') ){
	header('HTTP/1.0 404 Not Found');
	printFooter();
	exit;
}
?> 
<br>
<form method="POST"  action="?stype=<?=$stype?>"  name="bbspic">
<table width="100%" border="0" cellspacing="1" cellpadding="0"  align="center" class="tableborder">
<tr> 
<td height="23" colspan="4" align="left" class="tit1"><?=$actname.$lang['suc.info3']?> 
 <?="(".$lang['suc.info4'].$bbspicnum.$lang['suc.info14'].$actname.$lang['suc.info5'].$bbspicurl.")"?></td>
</tr>
<tr> 
<td height="23" class="forumrow1" style="text-align:center;">
<input type="submit" name="Submit" value="<? echo $lang['suc.info32']?>" style="color: #FF0000;width:80px;height:50px;border:1px outset;">
</td> 
<td height="23" colspan="3"  class="forumrow1"><?=$lang['suc.info6']?><br><?=$lang['suc.info3'].$bbspicurl.$lang['suc.info8']?><br><?=$lang['suc.info9']?><BR><?=$lang['suc.info10']?>
</td>
</tr>
<tr><td colspan="4">
<table border="0" cellspacing="0" cellpadding="0" style="width:100%">
<tr>
<td height="25" align="center" <?if($stype==3){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>><a href="?stype=3"><font color="<?if($stype==3){echo 'red';}else{echo '#000000';}?>"><?=$lang['forum.info3']?></font></a></td>
<td height="25" align="center" <?if($stype==2){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>><a href="?stype=2"><font color="<?if($stype==2){echo 'red';}else{echo '#000000';}?>"><?=$lang['forum.info2']?></font></a></td>
<td height="25" align="center" <?if($stype==1){echo 'bgcolor="#C9DEFA"';}else{echo 'bgcolor="#F1F3F5"';}?>><a href="?stype=1"><font color="<?if($stype==1){echo 'red';}else{echo '#000000';}?>"><?=$lang['forum.info1']?></font></a></td>
</tr>
<tr><td colspan="3" class="tdtit">
<?=$actname?>
</td></tr>
</table>
</td></tr>
<tr>
<td width="20%"  align="left" class="forumrow"><?=$lang['suc.info11']?></td>
<td width="80%"  align="left" class="forumrow" colspan="3"><input  type="text" name="newfilename" value="<?=$newfilename?>"><?=$lang['suc.info30']?><font color="red"><?=$lang['suc.info12']?></font><?=$lang['suc.info31']?>
</td>
</tr>
<tr> 
<td width="20%"  align="left" class="forumrow"><?=$lang['suc.info13']?></td>
<td width="80%"  align="left" class="forumrow" colspan="3"><input  type="text" name="newnum" value="<?=$mynewnum?>">
<input type="submit" class="button" name="submit" value="<?=$lang['forum.info5']?>">
</td>
</tr>
<?
if( $submit == $lang['forum.info5'] && $newnum != '' && $newnum != 0 && is_numeric($newnum) ){
	for( $i=$bbspicnum;$i<($bbspicnum+$newnum);$i++ ){
		if ( $stype == 2 && $i < 10 ){
			$tempname = $newfilename. '0' .$i;
		}else{
			$tempname = $newfilename.$i;
		}
?>
<tr>
<td width="20%" class="forumrow1"><?=$actname?>ID:<input type="hidden" name="face_id<?=$i?>" size="10" value="<?=$i?>"><?=$i?></td>
<td width="75%" class="forumrow1" colspan="2"><?=$lang['suc.info15']?>:<input  type="text" name="userface<?=$i?>" value="<?=$tempname?>.gif"></td>
<td width="5%" class="forumrow1"> 
<input type="checkbox" name="delid<?=$i?>" value="<?=$i?>">
</td>
</tr>
<?
	}
}
?>
<tr>
<th width="20%" class="forumrow"><?=$lang['suc.info16']?></th>
<th width="45%" class="forumrow"><?=$lang['suc.info17']?></th>
<th width="30%" class="forumrow"> 
<?=$lang['suc.info18']?>
<th width="5%" class="forumrow"> 
<?=$lang['suc.info19']?>
</th>
</tr>
<tr>
<td width="20%" class="forumrow"><?=$lang['suc.info20']?><input type="hidden"  name="face_id0" size="10" ></td>
<td width="45%" class="forumrow">&nbsp;<input  type="text" name="userface0" value="<?=str_replace('../','',$bbspicurl)?>"></td>
<td width="30%" class="forumrow"></td>
<td width="5%" class="forumrow"></td>
</tr>
<?
for( $i=1;$i<$bbspicnum;$i++ ){
?>
<tr>
<td width="20%" class="forumrow"><?=$lang['suc.info17']?><input type="hidden"  name="face_id<?=$i?>" size="10" value="<?=$i?>"></td>
<td width="45%" class="forumrow">&nbsp;<input  type="text" name="userface<?=$i?>" value="<?=$connfile[$i]?>"></td>
<td width="30%" class="forumrow"> 
&nbsp;&nbsp;<img src="<?=$bbspicurl?><?=$connfile[$i]?>">
<td width="5%" class="forumrow"> 
<input type="checkbox" name="delid<?=$i?>" value="<?=($i+1)?>">
</td>
</tr>
<?
}
?>
<tr> 
<td  colspan="4" class="forumrow"> 
<?=$lang['suc.info21']?>
<font color="blue"><?=$lang['suc.info22']?></font><?=$lang['suc.info23']?><BR><?=$lang['suc.info24']?>
</td>
</tr>
<tr> 
<td  colspan="4" class="forumrow"> 
<div align="center"> 
 <?=$lang['suc.info25'].$lang['suc.info27']?><input type="radio" name="setfso" value="1" ><?=$lang['suc.info28']?><input type="radio" name="setfso" value="0" checked> <?=$lang['suc.info26']?><input type="checkbox" name="chkall" value="on" onclick="CheckAll(this.form)"><?=$lang['suc.info29']?> <BR>
<input type="submit" class="button" name="submit" value="<?=$lang['forum.info6']?>">
<input type="submit" class="button" name="submit" value="<?=$lang['forum.info7']?>">
</div>
</td>
</tr>
</table><BR><BR>
</form>