Thu Jan 31, 2013 9:37 pm
<?php
// Declair the HTML title variable, changed later
$html_title ="PHPBB3 Styles database";
include '../head_handler.php';
if(isset($_POST['booleaninsert']))
{
$flag=$_POST['booleaninsert'];
if($flag="yes")
{
include('Controllers/styleinsertcontrol.php');
echo "Style updated .<br/>";
}
}
?>
<table>
<form method="post" action="#" />
<b>StyleID : </b><input type="text" name="STYLE_ID" size="10" maxlength="10" /><br />
<input type="submit" value="show" />
</form>
<?php
$STYLE_ID="-1";
if(isset($_POST['STYLE_ID']))
{
include 'Controllers/styleupdatecontrol.php';
include 'Controllers/typeshowcontrol.php';
?>
<form method="post" action="#" >
<?php
if(isset($STYLE_NAME) &isset($STYLE_VR)&isset($TYPE_ID)&isset($AUOTHER))
{
echo"<tr><td colspan=2><img name='$image' alt=$STYLE_NAME src='$image' /></td></tr>";
echo "<tr><td><b>Style Name:</b> </td><td><input type='text' maxlength=40 size=40
name='STYLE_NAME' value='$STYLE_NAME' /><br/></td></tr>";
echo "<tr><td><b>Style VR:</b> </td><td><input type='text' maxlength=40 size=40
name='STYLE_VR' value='$STYLE_VR' /><br/></td></tr>";
echo "<tr><td><b>Type VR:</b> </td><td><input type='text' maxlength=40 size=40
name='TYPE_VR' value='$TYPE_VR' /><br/></td></tr>";
?>
<tr><td><b>Style Type:</b> </td><td>
<select name="STYLE_TYPE" >
<?php
echo $typescontent;
?>
</select></td></tr>
<tr><td><b>Style Category:</b> </td><td>
<?php
include 'Categoryselector.php'; ?>
<?php
echo "<tr><td><b>Auother:</b> </td><td><textarea rows=6 cols=30
name='AUOTHER'>$AUOTHER</textarea><br/></td></tr>";
}
else echo "Please enter correct ID , no data for this ID";
?>
<tr><td><input type="submit" value="update" />
<input type="hidden" name="STYLE_ID" value="<?php echo $STYLE_ID; ?>">
<input type="hidden" name="insertype" value="update">
<input type="hidden" name="booleaninsert" value="yes"/>
</form>
</td><td> <form action="deletestyle.php" method="post" >
<input type="submit" value="delete" />
<input type="hidden" name="STYLE_ID" value="<?php echo $STYLE_ID; ?>">
<input type="hidden" name="STYLE_NAME" value="<?php echo $STYLE_NAME; ?>">
<input type="hidden" name="STYLE_TYPE" value="<?php echo $currentType; ?>">
</form></td></tr>
</table>
<?php
}
?>
http://yourdomain/templatesdragon/adminstration.php
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.