| Current Path : /var/www/html/mmishra/indem/iiita/ |
| Current File : /var/www/html/mmishra/indem/iiita/cpanel.php |
<?php
$submit = $_POST["submit"];
if ($submit == 'UPLOAD') upload_file();
introduction();
echo "<center><hr>";
if ($role == 'admin') {
myhref("index.php?conf=setup","Setup","Website setup parameters");
echo "[ <a href='index.php?conf=banner'>Banner</a> ]
[ <a href='index.php?conf=introduction'>Introduction</a> ]
[ <a href='index.php?conf=menus&item=menu&id=mm'>Menu</a> ]
[ <a href='index.php?conf=links&id=mm'>Weblink</a> ]
[ <a href='index.php?conf=webpages&id=mm'>Webpage</a> ]
[ <a href='index.php?conf=guzette&id=mm'>Guzette</a> ]
";
}
if ($user) {
echo "
[ <a href='index.php?conf=profiles&loginID=$user'>Profile</a> ]
</center><hr>
<b>File Upload</b><br>
Please select file to upload on server. Here image files will be uploaded in \"images\" folder
and other files will be uploaded in \"documents\" folder. File at wrong place may cause access problem.
<br><br>
Select file <input type='file' name='userfile' size='50'>
<br>
Add this image file to the Photo Gallery [
<input type='radio' name='addto_gallery' value='yes'> Yes
<input type='radio' name='addto_gallery' value='no' checked> No ]
<input type='submit' name='submit' value='UPLOAD' style='width:80px'>
<br><br>
Only images can be added to the photo gallery.
Please upload .jpg image files to achieve better performance.
<br>
List of files under <a href='documents/' target='_blank'>document</a> and
<a href='images/' target='_blank'>image</a> folders.
<center><hr>
[ <a href='index.php?conf=registrations'>Online Registrations</a> ]
[ <a href='index.php?conf=uploads'>File Upload</a> ]
[ <a href='index.php?conf=formats'>Form Formats</a> ]
[ <a href='index.php?conf=gallery'>Photo Gallery</a> ]
[ <a href='index.php?conf=logview'>Log View</a> ]
[ <a href='index.php?conf=hitmeter'>Hit Meter</a> ]
<hr>";
}
?>
</center><br>
Use &#39 for ' and &#34 for " in the text