<?php
include "authheader.php";
if($block == false){
include 'col.php';
include 'header.php';
echo "<br><br><br>";
?>
<?php
$iswrite = $_POST['what'];
if($iswrite == "write")
{
$bx = $_POST['Box'];
$bd = $_POST['Body'];
$fc = $_POST['Font'];
$omc = $_POST['Odd'];
$emc = $_POST['Even'];
$htmle = $_POST['var'];
$file = fopen('col.php',w);
fwrite($file,"<?php\n\n");
fwrite($file,"$"."bxcolor = \"$bx\";\n");
fwrite($file,"$"."bdcolor = \"$bd\";\n");
fwrite($file,"$"."fontcol = \"$fc\";\n");
fwrite($file,"$"."oddmess = \"$omc\";\n");
fwrite($file,"$"."evenmess = \"$emc\";\n");
fwrite($file,"$"."html_enable = \"$htmle\";\n\n");
fwrite($file,"?>\n\n");
fwrite($file, "<!-- (c) copyright 2004, HIOX INDIA -->\n");
fwrite($file, "<!-- This is a free tool provided by hioxidia.com -->\n");
fwrite($file, "<!-- Please get in touch with us for using -->\n");
fwrite($file, "<!-- this product in a commercial site. -->\n");
fclose($file);
}
include 'col.php';
?>
<table bgcolor=dfdff0 align=center style="padding: 10px; border:2px red groove;
font-family: arial, verdana, san-serif; font-size: 14px;">
<form name = col method = post action = "url.php">
<tr><td>Box Color: </td><td> <input type="text" name="Box" value = "<?php echo"$bxcolor"; ?>" /></td></tr>
<tr><td>Body Color: </td><td> <input type="text" name="Body" value = "<?php echo"$bdcolor";?>"/></td></tr>
<tr><td>Font Color: </td><td> <input type="text" name="Font" value = "<?php echo"$fontcol"; ?>" /></td></tr>
<tr><td>Odd Msg Color: </td><td> <input type="text" name="Odd" value = "<?php echo"$oddmess"; ?>" /></td></tr>
<tr><td>Even Msg Color: </td><td> <input type="text" name="Even" value = "<?php echo"$evenmess"; ?>"/></td></tr>
<tr><td>HTML Tags: </td><td>
<select name="var">
<option>Please select</option>
<?php
if ($html_enable == "true")
{
echo "<option value=true selected>Enable</option>
<option value=false>Disable</option>";
}else {
echo "<option value=true>Enable</option>
<option value=false selected>Disable</option>";
}
?>
</select>
</td></tr>
<tr><td colspan=2 align=right>
<input type=hidden value="write" name=what>
<input type='submit' value="change">
</td></tr>
<td colspan=2>Note:Change may cause effect in proprerties</td>
</form>
</table>
</body>
</html>
<?php
}
?>
<!-- (c) copyright 2004, HIOX INDIA -->
<!-- This is a free tool provided by hscripts.com -->
<!-- Please get in touch with us for using -->
<!-- this product in a commercial site. -->