
	<? $title="$lang_221";

	require 'templates/'.$tfold.'/header.php';?>
	</td>
  </tr>
  
  
  <tr><td valign="top" class="ft2">
  <table border="0" align="center" cellpadding="3" cellspacing="0" width="100%">
   <tr height=30><td class="ct" colspan="2"><b>
&nbsp;&nbsp;&nbsp;&nbsp;Shop Setup Page </b></td></tr>
 
  <tr> 
     <td colspan="2" height="30">

<TABLE cellSpacing=0 cellPadding=0 width=100%
            border=0 align="left">
              <TBODY>
                      <TR>
                      <TD width="150" align="right">
					  <STRONG>SHOP STATUS</STRONG>:</TD><td><SPAN 
                        class=redfont><? if($aboutpage_type=='enable') echo "<font color=green>active </font>"; else echo "<font color=red>Inactive </font>"; ?> </SPAN></TD>
                      </TR></TBODY></TABLE></TD></TR>
				<TR>
                <TD class=c4>
			<FORM Action=shops.php method=post 
            encType=multipart/form-data name=form1>
			<INPUT type=hidden name=oldlogo> 
			<TABLE class=border cellSpacing=4 cellPadding=4 width="100%" 
            border=0>
              <TBODY>
              <TR class=c3>
                <TD class=contentfont align=right width=150><B>Enable 
                Shop</B></TD>
                <TD class=contentfont>
				  <? 
				  if($aboutpage_type=="enable")
				  {
				  ?>
				  <INPUT type=radio value="enable"
                  name=aboutpage_type checked="checked" /> Yes 
				 <?
				 }
				 else
				 {
				 ?> 
				  <INPUT type=radio value="enable"
                  name=aboutpage_type> Yes 
				 <?
				 }
				 ?>
 				  <? if($aboutpage_type=="disable")
				  {
				  ?>
				  <INPUT type=radio value="disable"
                  name=aboutpage_type checked="checked"> No
				 <?
				 }
				 else
				 {
				 ?> 
				  <INPUT type=radio value="disable"
                  name=aboutpage_type> No
				 <?
				 }
				 ?>				 </TD></TR>
              <TR class=c2>
                <TD width=150></TD>
                <TD class=contentfont>By enabling the SHOP page, you will 
                  have the option to list a number of auctions on the newly 
                  created shop section.</TD></TR>
              <TR class=c2>
                <TD class=contentfont align=right><? echo "$lang_426" ?></TD>
                <TD class=contentfont><INPUT  id=shop_name 
                  maxLength=50 size=50 name=shop_name value="<?= $shop_name ?>"></TD></TR>
              <TR class=c2>
                <TD class=contentfont vAlign=top align=right><B>Shop 
                  Description</B></TD>
                <TD class=contentfont>

	<?php
include_once("HTMLEditor/fckeditor.php") ;
?>
<?php
$oFCKeditor = new FCKeditor('htmlcontent') ;
$oFCKeditor->BasePath = './HTMLEditor/' ;
$oFCKeditor->Value = $itemdes;
$oFCKeditor->Create() ;
?>
   </TD></TR>
				<?
				if($logo1)
				{
				   $img=$logo1;
				   list($width, $height, $type, $attr) = getimagesize("shopuploads/$img");
				   $h=$height;
				   $w=$width;
				   if($h>200)	
				   {
				   $nh=200;
				   $nw=($w/$h)*$nh;
				   $h=$nh;
				   $w=$nw;
				   }
				  if($w>200)
				  {
				  $nw=200;
				  $nh=($h/$w)*$nw;
				  $h=$nh;
				  $w=$nw;
				  }
			
				
				
				?>   
				<TR class=c3>
                <TD class=contentfont align=right><B>Current Logo</B></TD>
                <TD class=contentfont><img src="shopuploads/<?= $logo1 ?>" width=<?= $w; ?> height=<?=$h?> /></TD>
				</TR>
				<?
				}
				?>  
                <TR class=c3>
                <TD class=contentfont align=right><B>Upload Shop Logo</B></TD>
                <TD class=contentfont><INPUT id=logo type=file size=40 
                  name=logo></TD></TR>
                <TR class=c4>
                <TD class=contentfont align=middle colSpan=2>
				<input type="hidden" name="cansave" value=1>
				<INPUT type=submit value="Save Settings" name=shopsaveok></TD></TR></TBODY></TABLE>
				</FORM></TD></TR></TBODY></TABLE><BR>	
				