<?php

include("../includes/db.inc.php");

include("../includes/config.php");

$msql=new SHARP_SQL;

if(isset($COUSER) && isset($COPASS) && $COUSER!="" && $COUSER!="deleted"){

	$msql->query("select * from auto_co where user='$COUSER' and password='$COPASS' and checked='1'");

	if($msql->next_record()){

		$coid=$msql->f('coid');

		$oof=$msql->f('oof');

		$jibie=$msql->f('jibie');

		$leiji=$msql->f('leiji');

		$tyw=$msql->f('tyw');

		$e=$msql->f('email');

		$zq=$msql->f('zq');

	}else{

		Header("Location: index.php3"); 

	}

}else{

		Header("Location: index.php3"); 

}



?>

<HTML>



<HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=big5">

<style type=text/css>



<!--



a { text-decoration: none; color: #000000}



a:hover { text-decoration: underline }



EM { font-size:9pt;font-family:CourierNew;font-style:normal }



a,td,p {font-size:9pt}



.hh input {background-color: #ffffff; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}



-->



</style>

</HEAD>



<BODY LEFTMARGIN="0" MARGINWIDTH="0" TOPMARGIN="0" MARGINHEIGHT="0" bgcolor="#1C2630" background="images/bg5.gif">

<div align="center"> 

  <table width="778" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF6600">

    <tr> 

      <td bgcolor="#0099FF"><img src="images/top.gif" width="778"></td>

    </tr>

  </table>

  <table width="778" border="0" cellpadding="0" cellspacing="0">

    <tr bgcolor="#FFFFFF"> 

      <td width="2%" height="19">&nbsp;</td>

      <td align="right">| <a href="welcome.php3">誠邀加盟</a> | <a href="reg.php3">代理登記</a> 

        | <a href="main.php3">我的帳戶</a> | <a href="myuser.php3">我的客戶</a> | <a href="in.php3">客戶轉入</a> 

        | <a href="moduser.php3">修改資料</a> | <a href="pay.php3">業務送出</a> | <a href="index.php3?type=exit">退出</a> 

        | </td>

      <td width="2%">&nbsp;</td>

    </tr>

    <tr bgcolor="#FFCC00"> 

      <td height="5" colspan="3" ></td>

    </tr>

  </table>

  <table width="778" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF6600">

    <tr> 

      <td bgcolor="#99CCFF"> 

        <p>&nbsp;</p>

        <div align="center"> 

          <table width="80%" border="1" cellspacing="2" cellpadding="8" bordercolor="#1C2630" align="center" bgcolor="#FFCC66">

            <tr valign="top"> 

              <td height="38">　　只要將此代碼插入您的網頁中,用戶從您的網站進行登記時直接進入您的客戶名單中。以方便您直接和客戶聯絡。</td>

            </tr>

          </table>

          <p align="center"> 

            <textarea name="textfield" cols="50" rows="8">&lt;a onClick=&quot;window.open('<?php echo "$baseurl"; ?>index.php3?hezuoid=<?php echo "$coid"; ?>&e=<?php echo "$e"; ?>','autoweb','width=790,height=520,scrollbars,resizable')&quot;  href=&quot;#&quot;&gt; 進入網頁設計DIY系統&lt;/a&gt;</textarea>

          </p>

          <p>&nbsp;</p>

          <p>&nbsp;</p>

        </div>

      </td>

    </tr>

  </table>

  <table width="778" border="0" cellspacing="0" cellpadding="0">

    <tr> 

      <td height="5" bgcolor="#FFCC00"></td>

    </tr>

    <tr> 

      <td height="30" align="center" background="images/bg2.gif"><strong>SYOC 
        網頁設計DIY系統 任何問題請聯絡 <a href="mailto:service@syoc.com">WEBMASTER</a></strong></td>

    </tr>

  </table>

</div>

</BODY>



</HTML>

