<?php
/*-------------
| phpCAMALEO |
| 24 Oct 2006 |
-------------*/
for($i=1;$i<3;$i++) { $fld_class[$i]='form'; }
if(isset($err_i)) { $fld_class[$err_i]='rev'; }
?>
<div align="center"><form name="camaleo" method="post" action="<?=$_SERVER[PHP_SELF]?>">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td colspan="3" align="center"><img src="skins/phpCAMALEO/img/phpCAMALEO450.gif" alt="phpCAMALEO @> Internet site transformation its easier than you think!" title="phpCAMALEO @> Internet site transformation its easier than you think!" /><br /></td></tr>
<tr><td colspan="3" height="5"></td></tr>
<tr>
<td colspan="3" align="center">
<select class="<?=$fld_class[1]?>" name="opt_skin" size="1" style="width:425px;">
<option class="<?=$fld_class[1]?>" value=""><?=SELECT_SKIN?></option>
<?php
$tmp='';
for($i=0;$i<$t;$i++)
{
if($rows[$i][site]==$_POST[opt_skin]) { $tmp=' selected'; }
?><option class="form" value="<?=$rows[$i][site]?>"<?=$tmp?>><?=$rows[$i][value]?></option><?php
$tmp='';
}
?>
</select>
<input class="button" type="submit" name="submit" value="GO!">
</td>
</tr>
<tr>
<td align="left" height="100px"><img src="img/trasp.gif" border="0" width="350" height="280" />
<img src="skins/phpCAMALEO/img/chameleon350a.gif" border="0" width="350" height="275" style="z-index:1;position:absolute;top:120px;left:0px;" />
</td>
<td rowspan="2"><img src="img/trasp.gif" width="15" height="15" /></td>
<td rowspan="2" width="45%" align="left"><?php
if($_SESSION[misc][location]=='l' && $USER_PRIV>=80)
{
?><img src="img/trasp.gif" border="0" width="100%" height="10" /><br />
<input class="button_sml" style="margin:2px 0 5px 0;color:#207901;" type="submit" name="submit" value="<?=SET_DEF_SKIN?>" title="<?=SET_DEF_TITLE?>"><br />
<img style="border-top:1px solid #25bd04;" src="img/trasp.gif" border="0" width="100%" height="1" /><br />
<font id="sml1"><?=INTRO?></font><br />
<input class="<?=$fld_class[2]?>" style="margin:5px 0 5px 0;width:95%;" type="text" name="newskinid" value="<?=$newskinid?>" size="20"><br />
<input class="button" style="margin:2px 0 0 0;" type="submit" name="submit" value="<?=CREATE_BTN?>" title="<?=CREATE_TITLE?>"><br />
<font id="sml1"><?=CREATE_INF?></font><br />
<input class="button_sml" style="color:#ff0000;margin:5px 0 0 0;" type="submit" name="submit" value="<?=DELETE_BTN?>" title="<?=DELETE_TITLE?>"><br />
<font id="sml1"><?=DELETE_INF?></font><br />
<img style="border-top:1px solid #25bd04;" src="img/trasp.gif" border="0" width="100%" height="5" /><br />
<input class="button" style="margin:0 0 2px 0;" type="submit" name="submit" value="<?=EXPORT?>" title="<?=EXPORT_TITLE?>">
<input type="checkbox" name="exp_all" value="1" <?=$exp_all?>> <?=EXPORT_BOXNAME?><br />
<font id="sml1">
<?=EXPORT_INFO?><br />
<input type="checkbox" name="cdefsk_exp_dir" value="1" <?=$cdefsk_exp_dir?>> <?=EXPORT_CPYALL?><br />
<?=EXPORT_INFO_CPYALL?><br />
<?=EXPORT_ZIP?>:<input type="radio" name="exp_zip" value="no" <?=$exp_zip_no?>><?=NO?> <input type="radio" name="exp_zip" value="gz" <?=$exp_zip_gz?>>gz <input type="radio" name="exp_zip" value="bz2" <?=$exp_zip_bz2?>>bz2<br />
<input type="checkbox" name="remove_exp_dir" value="1" <?=$remove_exp_dir?>> <?=EXPORT_REMOVE?><br />
</font>
<img style="border-top:1px solid #25bd04;" src="img/trasp.gif" border="0" width="100%" height="5" /><br />
<input disabled class="button" style="margin:0 0 5px 0;" type="submit" name="submit" value="<?=IMPORT_BTN?>" title="<?=IMPORT_TITLE?>"><br />
<font id="sml1"><?=IMPORT_INF?></font><br />
<img style="border-top:1px solid #25bd04;" src="img/trasp.gif" border="0" width="100%" height="5" /><br />
<div style="position:absolute;top:10px;right:10px;"><input class="button_sml" style="margin:5px 0 2px 0;color:#207901;" type="submit" name="submit" value="<?=PERM_TEST_BTN?>" title="<?=PERM_TEST_TITLE?>"></div>
<?php
} ?>
</td>
</tr>
<tr>
<td align="center" valign="top" height="120"><?php
if($_SESSION[misc][location]=='l')
{
#===============================
# site administration menu
#===============================
?><div align="left" style="position:absolute;top:10px;left:15px;"><p id="sml0">db @> <?=$db_main?></p><?php
if($USER_PRIV==0)
{
?><p id="sml"><a href="Access.php?rediraccess=skinMNGR.php">admin</a></p><?php
}
if($USER_PRIV>=80)
{
?><p id="sml"><a href="LoadPage.php?page=siteadmin">admin home</a></p>
<p id="sml" style="margin:5px 0 0 0;"><a href="LoadPage.php?act=logout&page=skinMNGR.php">logout</a></p><?php
}
?></div><?php
}
if(file_exists('install')) { ?><fieldset class="err" ><legend><img src="img/warning.gif" alt="WARNING!" title="<?=L_INSTTIT?>" /></legend> <font style="font-weight:bold;color:#ff0000;"><?=L_INSTMSG?></font></fieldset><?php } ?>
<?=$feedback_str?>
</td>
</tr>
</table>
</form>
<font style="font-size:75%;">© 2006 grandolini.net — <?=FOOT_RIGHTS?></font>
<script>document.forms['camaleo'].opt_skin.focus();</script>
<?php
switch($err_i)
{
case 2: ?><script>document.forms['camaleo'].newskinid.focus();</script><?php break;
}
?>
</div>
</body>
</html>