PDA

View Full Version : table no aligned


testing123
July 11th, 2008, 12:27 PM
Hello, I set my main photopost tables to 900px



Everything is aligned correct, Except when I go into "upload" photo.

The table "My Photo Gallery Image Upload" is aligned left. And I don't know where to edit this, I'm thinking uploadphoto.tmpl. But not sure where?

Also


Allowable Image Types: jpg,jpeg,png
Maximum File Size: No file size limit.
Images in your queue:

box is 100%


The only thing aligned properly is "ADMIN OPTIONS FOR BULK OR ZIP UPLOADS" box.

Chuck S
July 11th, 2008, 12:39 PM
Do you have a url and test login?

testing123
July 11th, 2008, 01:10 PM
Do you have a url and test login?

No, But I have this code, I can make a user account this weekend if it is necessary. Here is uploadphoto.php


Do you have a url and test login?

No, But I have this code, I can make a user account later tonight if it is necessary. Here is uploadphoto.php


<html>
<head>
<title>My Photo Gallery - Upload Photo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- no cache headers -->
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="Tue, 21 Nov 2010 05:00:00 GMT" />
<meta http-equiv="cache-control" content="no-cache, must-revalidate" />

<!-- end no cache headers -->


<script type="text/javascript" language="javascript">
<!--
var PopUpHelpX = (screen.width/2)-150;
var PopUpHelpY = (screen.height/2)-200;
var pos = "left="+PopUpHelpX+",top="+PopUpHelpY;
function PopUpHelp(url){
PopUpHelpWindow = window.open("http://mysite.com/"+url,"Smilies","scrollbars=yes,width=300,height=400,"+pos);
}
//-->
</script>


<link rel="stylesheet" href="http://mysite.com/stylesheets/default.css" type="text/css" />

</head>
<body><table width="900" height="19" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="27%" height="19"><div align="left"><img src="http://www.photopost.com/forum/images/rmalogo.png" width="322" height="119" /> </div></td>

</tr>
</table>
<!-- BEGIN TEMPLATE: menubar.tmpl -->

<table class="" cellpadding="1" cellspacing="1" border="0" width="900" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="tableborders">


<td class="menubar" width="100%" colspan="2">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>

<td class="menubarnb" width="50%" align="left" valign="middle">
&nbsp;<span class="medium"><a href="http://mysite.com/showgallery.php?cat=500&amp;ppuser=1">My&nbsp;Photos</a> &middot; <a href="http://mysite.com/useralbums.php">My&nbsp;Albums</a> &middot; <a href="http://mysite.com/showgallery.php?cat=fav">My&nbsp;Favorites</a></span>
</td>
<td class="menubarnb" width="50%" align="right" valign="middle">

<span class="medium"><a href="http://mysite.com/adm-index.php">Admin</a> &middot; <a href="http://mysite.com/">Home</a> &middot; <a rel="nofollow" href="http://mysite.com/search.php?cat=">Search</a> &middot; <a href="http://mysite.com/member.php?uid=1">Profile</a> &middot; <a href="http://mysite.com/uploadphoto.php">Upload&nbsp;Photos</a> &middot; <a href="http://mysite.com/misc.php?action=logout">Logout</a></span>&nbsp;

</td>
</tr>
</table>
</td>


</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>

</tr>
<tr>
<td class="blc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
<td align="left" class="botleft">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td width="100%" class="bot">
</td>
<td align="right" class="botright">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td class="brc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
</table>
<br />
<!-- END TEMPLATE: menubar.tmpl --><script type="text/javascript">
function checkForm(theform)
{
if (theform.category.value == "notcat" && theform.albumsel.value == "0")
{
alert( "The category you chose is a top level category.<br /><br />Please go back and choose one of its subcategories to upload your image." );
theform.category.focus();
return false;
}

if (document.all||document.getElementById)
{
for (i=0;i<theform.length;i++)
{
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=true
}
}

document.getElementById('pwait').style.display = "";
document.getElementById('pwait2').style.display = "";

return true;
}
</script>

<form method="post" action="http://mysite.com/uploadphoto.php" enctype="multipart/form-data" onsubmit="return checkForm(this);">
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">

<table class="" cellpadding="1" cellspacing="1" border="0" width="900" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="tableborders">

<tr>
<td colspan="1" align="right" class="menubar">

<b>My Photo Gallery Image Upload</b>
</td>
<td colspan="1" align="right" class="menubar">
<span class="small"><a href="javascript:PopUpHelp('help/uploadphoto.php')">help</a></span>
</td>
</tr>
<tr>
<td class="tddetails" align="right"><span class="small">Your Username</span></td>

<td class="tddetails" align="right"><span class="small">admin</span></td>
</tr>
<tr>
<td class="tddetails" align="center" colspan="2">
<br />
<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="50%">
<tr> <td width="100" style="background-color:green; font-size:10px" title="Percent available: 100%">&nbsp;</td>
</tr>

</table>
<span class="small">
Disk space allowed on your account: Unlimited<br />
Disk space used on your account: 0kb ( bytes)<br />
Disk space remaining for your account: Unlimited<br />
</span>
<br />

</td>
</tr>
<tr>
<td class="tddetails" width="50%" align="right"><span class="small">Choose a category to upload your images to.<br />Pick a category that relates most to your image(s).</span></td>
<td class="tddetails" align="right"><select name="category"><option selected="selected" value="500">Member Galleries</option><option value="notcat">Main</option><option value="2">&nbsp; &nbsp; A Category</option></select></td>

</tr> <tr>
<td class="tddetails" align="right">
<span class="small"><b>Select the photos you wish to upload from your computer:<br /></b>
</span>
</td>
<td class="tddetails" align="right"><input type="file" name="theimage[]" size="50" /><br /> </td>
</tr>

<tr>
<td class="tddetails" align="right"><span class="small">Enter a default title for the photo(s) you are uploading. If you are uploading more than one photo, you will be able to change this on the next page for each photo.</span></td>
<td class="tddetails" align="right"><input type="text" size="50" name="deftitle" /></td>
</tr>
<tr>
<td class="tddetails" align="right"><span class="small">Enter a description for the photo(s)</span></td>
<td class="tddetails" align="right"><textarea name="defdesc" cols="50" rows="10"></textarea></td>

</tr>
<tr>
<td class="tddetails" align="right"><span class="small">Keywords</span></td>
<td class="tddetails" align="right"><input type="text" size="50" name="keywords" /></td>
</tr>
<tr>
<td colspan="2" class="tddetails" align="center">
<input type="submit" value="Upload/Submit" />

<br />
<div id="pwait" style="display:none; margin-top:6px" align="center"><img src="http://mysite.com/images/indicator.gif" border="0" />&nbsp;<b>Processing Upload... Please Wait!</b></div>
</td>
</tr>

</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>

</tr>
<tr>
<td class="blc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
<td align="left" class="botleft">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td width="100%" class="bot">
</td>
<td align="right" class="botright">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td class="brc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
</table>

</td>

</tr>
<tr>
<td valign="top" width="50%">
<br />

<table class="" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" width="100%" class="tableborders">

<tr>

<td colspan="2" align="right" class="menubar">
<b>User File Limits</b>
</td>
</tr> <tr>
<td class="tddetails" align="right"><span class="small">Allowable Image Types:</span></td>
<td class="tddetails" align="right"><span class="small">jpg,jpeg,png</span></td>
</tr>

<tr>
<td class="tddetails" align="right"><span class="small">Maximum File Size:</span></td>
<td class="tddetails" align="right"><span class="small">No file size limit.</span></td>
</tr> <tr>
<td class="tddetails" align="right"><span class="small">Images in your queue:</span></td>
<td class="tddetails" align="right"><span class="small">0</span></td>

</tr>

</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
<tr>
<td class="blc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
<td align="left" class="botleft">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td width="100%" class="bot">

</td>
<td align="right" class="botright">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td class="brc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
</table>

</td>

<br />

<table class="" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" width="100%" class="tableborders">

<tr>
<td colspan="2" align="right" class="menubar">
<b>Extra Options</b>
</td>
</tr> <tr>
<td class="tddetails" align="right"><span class="small">Retrieve all images from a URL:</span></td>
<td class="tddetails" align="right"><input type="text" size="25" maxlength="75" name="downloadurl" /></td>

</tr> <tr>
<td class="tddetails" align="right"><span class="small">Skip upload and process the files already in your upload directory</span></td>
<td class="tddetails" align="right"><input type="checkbox" name="skipupload" value="skipupload" /></td>
</tr>
<tr>
<td class="tddetails" align="right"><span class="small">Want to be notified by email when users post replies?</span></td>
<td class="tddetails" align="right"><select name="notify"><option selected="selected" value="no">no</option><option value="yes">yes</option></select></td>

</tr> <tr>
<td class="tddetails" align="right"><span class="small">Allow members to rate your photo?</span></td>
<td class="tddetails" align="right"><select name="ratings"><option value="no">no</option><option value="yes" selected="selected">yes</option></select></td>
</tr> <tr>
<td class="tddetails" align="right"><span class="small">Allow members to post comments?</span></td>
<td class="tddetails" align="right"><select name="comments"><option value="no">no</option><option value="yes" selected="selected">yes</option></select></td>

</tr>
</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
<tr>
<td class="blc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
<td align="left" class="botleft">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td width="100%" class="bot">
</td>

<td align="right" class="botright">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td class="brc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
</table>

</td>
</tr>
<tr>
<td colspan="2" width="900"> <br />


<table class="" cellpadding="1" cellspacing="1" border="0" width="900" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="tableborders">

<tr>
<td class="menubar" align="center">
<span class="medium"><b>ADMIN OPTIONS FOR BULK OR ZIP UPLOADS</b></span>
</td>
<td align="right" class="menubar">

<span class="small"><a href="javascript:PopUpHelp('help/adminskip.php')">help</a></span>
</td>
</tr>
<tr>
<td class="tddetails"><span class="small">Files should already be in</span></td>
<td class="tddetails" align="center"><input type="text" name="updir" value="/home/content/j/s/m/jsmith1/html/mysite/uploads/1" size="30" /></td>
</tr>
<tr>

<td class="tddetails" align="right"><span class="small">Click here to bypass approval process and upload all files in directory</span></td>
<td class="tddetails" align="center"><input type="checkbox" name="processall" value="processall" /></td>
</tr>
<tr>
<td class="tddetails" align="right"><span class="small">Do not watermark images</span></td>
<td class="tddetails" align="center"><input type="checkbox" name="skipwater" value="skipwater" /></td>
</tr>
<tr>

<td class="tddetails" align="right"><span class="small">Do not delete photos from source directory</span></td>
<td class="tddetails" align="center"><input type="checkbox" name="donotdelete" value="donotdelete" /></td>
</tr>
<tr>
<td class="tddetails" align="right"><span class="small">Show thumbnails during processing?</span></td>
<td class="tddetails" align="center"><select name="dthumbs"><option selected="selected">yes</option><option>no</option></select></td></tr>
<tr>

<td class="tddetails" align="right"><span class="small">Number of thumbnails to process next?</span></td>
<td class="tddetails" align="center"><select name="numprocess"><option selected="selected">10</option><option>25</option><option>50</option><option>100</option></select></td></tr>
<tr>
<td class="tddetails" align="right"><span class="small">Upload photos as user</span></td>
<td class="tddetails" align="center"><input type="text" name="upuser" value="admin" /></td>
</tr>


</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
<tr>
<td class="blc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
<td align="left" class="botleft">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td width="100%" class="bot">
</td>
<td align="right" class="botright">

<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td class="brc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
</table>
<br /></td>
</tr>
</table>


<table class="" cellpadding="1" cellspacing="1" border="0" width="900" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%" class="tableborders">

<tr>

<td class="tddetails" colspan="2" align="center"><span class="medium">
<input type="hidden" name="userid" value="1" />
<input type="hidden" name="process" value="do" />
<input type="hidden" name="MAX_FILE_SIZE" value="16384000" />
<input type="submit" value="Upload/Submit" />
<br />
<div id="pwait2" style="display:none; margin-top:6px" align="center"><img src="http://mysite.com/images/indicator.gif" border="0" />&nbsp;<b>Processing Upload... Please Wait!</b></div>
<br /><b>When you hit SUBMIT, the file you selected will be uploaded.</b></span>

</td>
</tr>

</table>
</td>
</tr>
</table>
</td>
<td class="right">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
<tr>
<td class="blc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
<td align="left" class="botleft">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td width="100%" class="bot">

</td>
<td align="right" class="botright">
<img border="0" src="http://mysite.com/images/spacer.gif" width="70" height="5"></td>
<td class="brc">
<img border="0" src="http://mysite.com/images/spacer.gif" width="5" height="5"></td>
</tr>
</table>

</form><br />
</body></html>





And I'm using the default upload template. Here.








<?php

echo<<<PPPRINT
<script type="text/javascript">
function checkForm(theform)
{
if (theform.category.value == "notcat" && theform.albumsel.value == "0")
{
alert( "{$Globals['pp_lang']['topcat']}" );
theform.category.focus();
return false;
}

if (document.all||document.getElementById)
{
for (i=0;i<theform.length;i++)
{
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=true
}
}

document.getElementById('pwait').style.display = "";
document.getElementById('pwait2').style.display = "";

return true;
}
</script>
<form method="post" action="{$Globals['maindir']}/uploadphoto.php" enctype="multipart/form-data" onsubmit="return checkForm(this);">
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
$ppopen
<tr>
<td colspan="1" align="right" class="{$Style['menubar']}">
<b>{$Globals['galleryname']} {$Globals['pp_lang']['imageupload']}</b>
</td>
<td colspan="1" align="right" class="{$Style['menubar']}">
<span class="{$Style['small']}"><a href="javascript:PopUpHelp('help/uploadphoto.php')">{$Globals['pp_lang']['help']}</a></span>
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['username']}</span></td>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$User['username']}</span></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="center" colspan="2">
<br />
<table style="border:2px groove" cellpadding="0" cellspacing="1" border="0" width="50%">
<tr>
PPPRINT;

if ( $usedpx > 0 )
{
echo<<<PPPRINT
<td width="$usedpx" style="background-color:red; font-size:10px" title="Percent disk space used: {$usedpx}%">&nbsp;</td>
PPPRINT;
}

echo<<<PPPRINT
<td width="$availpx" style="background-color:green; font-size:10px" title="Percent available: {$availpx}%">&nbsp;</td>
</tr>
</table>
<span class="{$Style['small']}">
{$Globals['pp_lang']['diskallowed']}: $disk_k<br />
{$Globals['pp_lang']['diskused']}: $diskuse<br />
{$Globals['pp_lang']['diskremain']}: $diskspace<br />
</span>
<br />
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}" width="50%" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['choosecat']}</span></td>
<td class="{$Style['tddetails']}" align="right"><select name="category">$catoptions</select></td>
</tr>
PPPRINT;

if ( !empty($albumcats) ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" width="50%" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['upalbum']}</span></td>
<td class="{$Style['tddetails']}" align="right">
<select name="albumsel"><option value="0" selected="selected">{$Globals['pp_lang']['none']}</option>$albumcats</select>
</td>
</tr>
PPPRINT;
}

echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right">
<span class="{$Style['small']}"><b>{$Globals['pp_lang']['photoname']}:<br /></b>
$moreinfo</span>
</td>
<td class="{$Style['tddetails']}" align="right">
PPPRINT;

for( $i = 0; $i < $Globals['maxfiles']; $i++ ) {
echo "<input type=\"file\" name=\"theimage[]\" size=\"50\" /><br />";
}

echo<<<PPPRINT
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['phototitle']}</span></td>
<td class="{$Style['tddetails']}" align="right"><input type="text" size="50" name="deftitle" /></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['photodesc']}</span></td>
<td class="{$Style['tddetails']}" align="right"><textareahtml name="defdesc" cols="50" rows="10"></textareahtml></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['keywords']}</span></td>
<td class="{$Style['tddetails']}" align="right"><input type="text" size="50" name="keywords" /></td>
</tr>
<tr>
<td colspan="2" class="{$Style['tddetails']}" align="center">
<input type="submit" value="{$Globals['pp_lang']['uploadsubmit']}" />
<br />
<div id="pwait" style="display:none; margin-top:6px" align="center"><img src="http://www.photopost.com/forum/before-you-buy/{$Globals['idir']}/indicator.gif" border="0" />&nbsp;<b>Processing Upload... Please Wait!</b></div>
</td>
</tr>
$ppclose
</td>
</tr>
<tr>
<td valign="top" width="50%">
<br />
$ppopenside
<tr>
<td colspan="2" align="right" class="{$Style['menubar']}">
<b>{$Globals['pp_lang']['filelimits']}</b>
</td>
</tr>
PPPRINT;


echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['imagetypes']}:</span></td>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">$imagetype</span></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['maxsize']}:</span></td>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">$maxfilesize</span></td>
</tr>
PPPRINT;

if ( $User['uploadlimit'] > 0 ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['userlimit']}:</span></td>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['uplimit2']}</span></td>
</tr>
PPPRINT;
}

echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">Images in your queue:</span></td>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">$photocount</span></td>
</tr>
$ppcloseside
</td>
<td valign="top" width="50%">
<br />
$ppopenside
<tr>
<td colspan="2" align="right" class="{$Style['menubar']}">
<b>{$Globals['pp_lang']['extraopts']}</b>
</td>
</tr>
PPPRINT;

if ( $Globals['downurl'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['downurl']}:</span></td>
<td class="{$Style['tddetails']}" align="right"><input type="text" size="25" maxlength="75" name="downloadurl" /></td>
</tr>
PPPRINT;
}

echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['skipupl']}</span></td>
<td class="{$Style['tddetails']}" align="right"><input type="checkbox" name="skipupload" value="skipupload" /></td>
</tr>
$skiphtml
PPPRINT;

if ( $Globals['usenotify'] == "yes" && $User['userid'] != 0 ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['notify']}</span></td>
<td class="{$Style['tddetails']}" align="right"><select name="notify"><option selected="selected" value="no">{$Globals['pp_lang']['no']}</option><option value="yes">{$Globals['pp_lang']['yes']}</option></select></td>
</tr>
PPPRINT;
}

if ( $Globals['allowrate'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['ratephoto']}</span></td>
<td class="{$Style['tddetails']}" align="right"><select name="ratings"><option value="no">{$Globals['pp_lang']['no']}</option><option value="yes" selected="selected">{$Globals['pp_lang']['yes']}</option></select></td>
</tr>
PPPRINT;
}

if ( $Globals['allowpost'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['postcoms']}</span></td>
<td class="{$Style['tddetails']}" align="right"><select name="comments"><option value="no">{$Globals['pp_lang']['no']}</option><option value="yes" selected="selected">{$Globals['pp_lang']['yes']}</option></select></td>
</tr>
PPPRINT;
}

echo<<<PPPRINT
$ppcloseside
</td>
</tr>
<tr>
<td colspan="2" width="900">
PPPRINT;

if ( $User['adminedit'] == 1 ) {
echo<<<PPPRINT
<br />
$ppopen
<tr>
<td class="{$Style['menubar']}" align="center">
<span class="{$Style['medium']}"><b>{$Globals['pp_lang']['adminopt']}</b></span>
</td>
<td align="right" class="{$Style['menubar']}">
<span class="{$Style['small']}"><a href="javascript:PopUpHelp('help/adminskip.php')">{$Globals['pp_lang']['help']}</a></span>
</td>
</tr>
<tr>
<td class="{$Style['tddetails']}"><span class="{$Style['small']}">{$Globals['pp_lang']['filenotice']}</span></td>
<td class="{$Style['tddetails']}" align="center"><input type="text" name="updir" value="$imgdir" size="30" /></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['processall']}</span></td>
<td class="{$Style['tddetails']}" align="center"><input type="checkbox" name="processall" value="processall" /></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['skipwater']}</span></td>
<td class="{$Style['tddetails']}" align="center"><input type="checkbox" name="skipwater" value="skipwater" /></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['donotdelete']}</span></td>
<td class="{$Style['tddetails']}" align="center"><input type="checkbox" name="donotdelete" value="donotdelete" /></td>
</tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['showthumbs']}</span></td>
<td class="{$Style['tddetails']}" align="center"><select name="dthumbs"><option selected="selected">yes</option><option>no</option></select></td></tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['numthumbs']}</span></td>
<td class="{$Style['tddetails']}" align="center"><select name="numprocess"><option selected="selected">10</option><option>25</option><option>50</option><option>100</option></select></td></tr>
<tr>
<td class="{$Style['tddetails']}" align="right"><span class="{$Style['small']}">{$Globals['pp_lang']['upuser']}</span></td>
<td class="{$Style['tddetails']}" align="center">$useroptions</td>
</tr>
$ppclose<br />
PPPRINT;
}

echo<<<PPPRINT
</td>
</tr>
</table>

$ppopen
<tr>
<td class="{$Style['tddetails']}" colspan="2" align="center"><span class="{$Style['medium']}">
<input type="hidden" name="userid" value="{$User['userid']}" />
<input type="hidden" name="process" value="do" />
<input type="hidden" name="MAX_FILE_SIZE" value="{$Globals['mmuploadsize']}" />
<input type="submit" value="{$Globals['pp_lang']['uploadsubmit']}" />
<br />
<div id="pwait2" style="display:none; margin-top:6px" align="center"><img src="http://www.photopost.com/forum/before-you-buy/{$Globals['idir']}/indicator.gif" border="0" />&nbsp;<b>Processing Upload... Please Wait!</b></div>
<br /><b>{$Globals['pp_lang']['subdesc']}</b></span>
</td>
</tr>
$ppclose
</form><br />
PPPRINT;

?>

Chuck S
July 11th, 2008, 01:34 PM
Have you altered your page output?

Please post a valid page source so I can validate it or post a site link as noted.

Like if I validate the code you posted your missing a tr tag in menubar template but in our code there is one there. Lots of things that can throw off a page