<?
########## Confixx(R) 3.0 Professional ############
####### Copyright SWsoft, Inc. 2004-2005 ##########
#### http://www.sw-soft.com - info@sw-soft.com ####

if(!defined('CONFIXX'))
{
	return;
}

print_header();

?>


<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<tr>
    <TD> 
      <form method="post" action="skins.php" enctype="multipart/form-data">
        <table  border="1" cellpadding="3" cellspacing="0" bordercolorlight="<? echo $color_dark_grey; ?>" bordercolordark="#FFFFFF">
          <tr > 
            <td  colspan="3" align="left" class="titel-3" >
              <? echo ltext("sk_select_action"); ?>
              </td>
          </tr>
          <tr>
          		<td>&nbsp;</td>
          		<td><input type="text" name="skinname" value=""></td>
          		<td><? echo ltext("sk_skin_name"); ?></td>
          </tr>
          <tr>
          		<td align="right"><input type="radio" name="action" value="createfromzip"></td>
          		<td><input type="file" name="zipfile"></td>
          		<td><? echo ltext("sk_create_from_arc"); ?></td>
          </tr>
          <tr>
          		<td align="right"><input type="radio" name="action" value="createfromskin"></td>
          		<td><SELECT name="skin">
<?
$id = db_query("select id, name from custom_skins where owner_type='preinstalled' or (owner_type='reseller' and anbieter='$PHP_AUTH_USER') ");
while( $wer = db_fetch_array($id) ):
?>
		<OPTION value="<? echo $wer["id"]; ?>"><? echo $wer["name"]; ?>
<? endwhile; ?>
		</SELECT></td>
          		<td><? echo ltext("sk_create_from_skin"); ?></td>
          </tr>
          <tr > 
            <td   valign="middle" align="center" colspan="3"> 
	    <table cellpadding="0" cellspacing="0" border="0">
	    <tr>
	    <td><input type=image border=0 src="<?=$strSkinName?>/pics/buttons/bt_img_left.gif"></td>
	    <td background="<?=$strSkinName?>/pics/buttons/bt_img_middle.jpg"><a href="javascript:doChange()"  class="button-1"><? echo ltext("kuae_button1"); ?></a></td>
	    <td><input type=image border=0 src="<?=$strSkinName?>/pics/buttons/bt_changepass.gif"></td>
	    </tr>
	    </table></a>
            </td>
          </tr>
        </table>
        <input type="hidden" name="returnto" value="create">
        </form>
    </TD>
  </TR>
</TABLE>
