<?
/********************************************************************************/
/* 小林在贺卡 :	PHP+TXT							        */
/* ==============================						*/
/*  版本: v0.01 -- 2003.03.08					         	*/
/*										*/
/* ---------------------------------------------------				*/
/* - 程式版权 (c) 2003 小林所有	    -		                     		*/
/* - 小林在贺卡版权所有   http://www.xlzx.net.tf    -				*/
/* ---------------------------------------------------				*/
/*										*/
/*						                                */
/* 网站地址:  www.xlzx.net.tf - xlzx.24cc.com - OICQ:26565571		        */
/********************************************************************************/
/*简介：本软件无须数据库支持。                                                  */
/*                                                                              */
/*版权说明: 本软件为免费软件。你可以下载使用。但请保留此声明	                */
/*										*/
/* 本版为测试版。希望大家找出bug！大家多多提建议！	                        */ 
/* 	                                                                        */
/* 申明：由于使用本软件造成任何事故！本人概不负责！				*/
/*										*/
/*      作者：小林   E-mail:lilin525007@sina.com  网址：www.xlzx.net.tf         */
/********************************************************************************/

include("config.php");

require("FLUSH.php");

?>


<HTML><HEAD>
<TITLE><?echo "$yourhome";?></TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<STYLE type=text/css>TD {
	COLOR: #800000; FONT-SIZE: 12px; LINE-HEIGHT: 18pt
}
A {
	COLOR: red; FONT-SIZE: 9pt; TEXT-DECORATION: none
}
A:hover {
	COLOR: #800000; TEXT-DECORATION: underline
}
.put{ font-size: 9pt; background-color:#fef7f7 ; border: 1px solid #F7E0E0 ; color: 000000}
</STYLE>

<STYLE>BODY {
	scrollbar-face-color: ee9999; scrollbar-shadow-color: FEF7f7; scrollbar-highlight-color: FEF7f7; scrollbar-3dlight-color: FEF7f7; scrollbar-darkshadow-color: FEF7f7; scrollbar-track-color: FEF7f7; scrollbar-arrow-color: ffffff
}
</STYLE></HEAD>
<BODY background=img/Snowbg.jpg leftMargin=0 topMargin=0>
<FORM action=preview.php method=post>
<TABLE align=center border=0 borderColorDark=#006666 cellPadding=0 cellSpacing=0 
height=24 width="100%">
  <TBODY>
  <TR>
    <TD align=middle width="41%">
                        <?include("class.php");?><?
$book="$data/$n.php";
$garray = @file($book);
$cog=count($garray);
for($i=0;$i<$cog;$i++){
$larray = explode("|",$garray[$i]);
if($id==$larray[0]){
$id=$larray[0];
$name=$larray[1];
$qq=$larray[2];
$email=$larray[3];
$homeurl=$larray[4];
$neiyong=$larray[5];
$settime=$larray[6];
$ban=$larray[7];
$bantime=$larray[8];

switch($m)
{
 case "f":
echo ("<hr width=\"88%\" size=\"1\" color=\"#FFCC99\">
<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0\" width=\"400\" height=\"400\" id=\"Shockwave Flash Object1\">
  <PARAM name=\"movie\" value=\"$email\">
  <PARAM name=\"quality\" value=\"high\">
<EMBED src=\"$email\" quality=\"high\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"400\" height=\"400\">
</OBJECT>
");
break;
case "p":
echo ("<hr width=\"88%\" size=\"1\" color=\"#FFCC99\">
<IMG border=0 src=\"$email\">
");
break;
}
echo <<<EOD
</TD>
    <TR>
    <TD align=middle vAlign=bottom width="59%">
      <hr width="88%" size="1" color="#FFCC99">
      <BR>请选择背景</TD></TR>
  <TR>
    <TD align=middle vAlign=bottom width="59%">
      <TABLE>
        <TBODY>
        <TR>
          <TD vAlign=center><IMG height=50 src="bg/01.jpg" 
            width=50><INPUT name=backgd type=radio value='01'> 
          <TD vAlign=center><IMG height=50 src="bg/02.jpg" 
            width=50><INPUT name=backgd type=radio value='02'> 
          <TD vAlign=center><IMG height=50 src="bg/03.jpg" 
            width=50><INPUT name=backgd type=radio value='03'> 
          <TD vAlign=center><IMG height=50 src="bg/04.jpg" 
            width=50><INPUT name=backgd type=radio value='04'> 
          <TD vAlign=center><IMG height=50 src="bg/05.jpg" 
            width=50><INPUT name=backgd type=radio value='05'> 
        <TR>
          <TD vAlign=center><IMG height=50 src="bg/06.jpg" 
            width=50><INPUT name=backgd type=radio value='06'> 
          <TD vAlign=center><IMG height=50 src="bg/07.jpg" 
            width=50><INPUT name=backgd type=radio value='07'> 
          <TD vAlign=center><IMG height=50 src="bg/08.jpg" 
            width=50><INPUT name=backgd type=radio value='08'> 
          <TD vAlign=center><IMG height=50 src="bg/09.jpg" 
            width=50><INPUT name=backgd type=radio value='09'> 
          <TD vAlign=center><IMG height=50 src="bg/10.jpg" 
            width=50><INPUT name=backgd type=radio value='10'> 
        <TR>
          <TD vAlign=center><IMG height=50 src="bg/11.jpg" 
            width=50><INPUT name=backgd type=radio value='11'> 
          <TD vAlign=center><IMG height=50 src="bg/12.jpg" 
            width=50><INPUT name=backgd type=radio value='12'> 
          <TD vAlign=center><IMG height=50 src="bg/13.jpg" 
            width=50><INPUT name=backgd type=radio value='13'> 
          <TD vAlign=center><IMG height=50 src="bg/14.jpg" 
            width=50><INPUT name=backgd type=radio value='14'> 
          <TD vAlign=center><IMG height=50 src="bg/15.jpg" 
            width=50><INPUT name=backgd type=radio value='15'> 
        <TR>
          <TD vAlign=center><IMG height=50 src="bg/16.jpg" 
            width=50><INPUT name=backgd type=radio value='16'> 
          <TD vAlign=center><IMG height=50 src="bg/17.jpg" 
            width=50><INPUT name=backgd type=radio value='17'> 
          <TD vAlign=center><IMG height=50 src="bg/18.jpg" 
            width=50><INPUT name=backgd type=radio value='18'> 
          <TD vAlign=center><IMG height=50 src="bg/19.jpg" 
            width=50><INPUT name=backgd type=radio value='19'> 
          <TD vAlign=center><IMG height=50 src="bg/20.jpg" 
            width=50><INPUT name=backgd type=radio value='20'> 
  </TR>
  
  </TBODY></TABLE></TD></TR>

  <TR>
    <TD>
      <TABLE align=center border=1 borderColorDark=#ffcc99 
      borderColorLight=#ffffff cellPadding=0 cellSpacing=0 width="75%">
        <TBODY>
        <TR>
          <TD align=right height=28 width="33%">发送者: &nbsp; </TD>                                              
          <TD height=28 width="67%">&nbsp; <INPUT maxLength=100                                         
            name=toname size=25              > </TD></TR>                                        
        <TR>                                        
          <TD align=right width="33%">发送者邮件: &nbsp;</TD>                                              
          <TD width="67%">&nbsp; <INPUT maxLength=70 name=tomail                                         
            size=25> </TD></TR>                                        
        <TR>                                        
          <TD align=right width="33%">接受者: &nbsp;</TD>                                              
          <TD width="67%">&nbsp; <INPUT maxLength=100 name=fromname size=25>                                         
          </TD></TR>                                        
        <TR>                                        
          <TD align=right width="33%">接受者邮件: &nbsp;</TD>                                              
          <TD width="67%">&nbsp; <INPUT maxLength=70 name=frommail size=25>                                         
            &nbsp; </TD></TR>                                        
        <TR>                                        
          <TD align=right vAlign=top width="33%">贺词:  </TD>                                              
          <TD vAlign=top width="67%">&nbsp; <TEXTAREA cols=45 name=talk rows=7 wrap=VIRTUAL>$neiyong</TEXTAREA>                                               
          </TD></TR>                                        
        <TR>                                        
          <TD align=right vAlign=top width="33%">背景音乐:&nbsp; </TD>                                       
          <TD width="67%">&nbsp;<select size="1" name="bgmid" style='background-color:3399FF;color:FFFFFF ;'>
EOD;
}
}?>
 
 <? include "data/mid.php";

?>  

<?echo <<<EOD
</select>
</TD>              
          <TR>                              
          <TD align=right vAlign=top width="33%">文本颜色:&nbsp; </TD>                              
          <TD>&nbsp; <select size="1" name="textcolor"><OPTION                   
              style="COLOR: #000000" value=000000>绝对黑色</OPTION> <OPTION                          
              style="COLOR: #000088" value=000088>深蓝忧郁</OPTION> <OPTION                          
              style="COLOR: #0000ff" value=0000ff>草原之蓝</OPTION> <OPTION                          
              style="COLOR: #008800" value=008800>橄榄树绿</OPTION> <OPTION                          
              style="COLOR: #008888" value=008888>灰蓝种族</OPTION> <OPTION selected                          
              style="COLOR: #0088ff" value=0088ff>海洋之蓝</OPTION> <OPTION                          
              style="COLOR: #00a010" value=00a010>绿色回忆</OPTION> <OPTION                          
              style="COLOR: #1100ff" value=1100ff>蓝色月光</OPTION> <OPTION                          
              style="COLOR: #111111" value=111111>夜幕低垂</OPTION> <OPTION                          
              style="COLOR: #333333" value=333333>灰色轨迹</OPTION> <OPTION                          
              style="COLOR: #50b000" value=50b000>春草青青</OPTION> <OPTION                          
              style="COLOR: #880000" value=880000>暗夜兴奋</OPTION> <OPTION                          
              style="COLOR: #8800ff" value=8800ff>发亮蓝紫</OPTION> <OPTION                          
              style="COLOR: #888800" value=888800>卡其制服</OPTION> <OPTION                          
              style="COLOR: #888888" value=888888>伦敦灰雾</OPTION> <OPTION                          
              style="COLOR: #8888ff" value=8888ff>兴份过蓝</OPTION> <OPTION                          
              style="COLOR: #aa00cc" value=aa00cc>紫的拘谨</OPTION> <OPTION                          
              style="COLOR: #aaaa00" value=aaaa00>流金岁月</OPTION> <OPTION                          
              style="COLOR: #ccaa00" value=ccaa00>卡布其诺</OPTION> <OPTION                          
              style="COLOR: #ff0000" value=ff0000>正宗喜红</OPTION> <OPTION                          
              style="COLOR: #ff0088" value=ff0088>爱的暗示</OPTION> <OPTION                          
              style="COLOR: #ff00ff" value=ff00ff>红的发紫</OPTION> <OPTION                          
              style="COLOR: #ff8800" value=ff8800>黄金岁月</OPTION> <OPTION                          
              style="COLOR: #ff0005" value=ff0005>红袍飘飘</OPTION> <OPTION                          
              style="COLOR: #ff88ff" value=ff88ff>紫金绣帖</OPTION> <OPTION                          
              style="COLOR: #ee0005" value=ee0005>焚心似火</OPTION> <OPTION                          
              style="COLOR: #ee01ff" value=ee01ff>红粉佳人</OPTION>                
  </select>                            
          </TD>                               
                           
                <TR align=middle vAlign=center>                               
          <TD colSpan=2 height=32>
<INPUT type="hidden" name=address value="$email"> 
<input type="hidden" name="m" value="$m"> 

<input type="hidden" name="yourhome" value="$yourhome"> 
<input type="hidden" name="n" value="$n">
<input type="hidden" name="id" value="$id">
         <INPUT name=提交 style="FONT-SIZE: 9pt; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; TEXT-ALIGN: center; WIDTH: 400px" type=submit value=预览>                                
          </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></BODY></HTML>
EOD;
include("hot.php");
?>
