Comment added'; } else if($_db_operation == 'update'){ //Update the record to the database. $query = "UPDATE $TABLENAME SET comment = '$c' , title = '$t', image = '$filename', time = '$time', postedBy = '$un' WHERE $editCol = '$uid'"; $result = @mysql_query ($query); echo '
The file has been uploaded!
'; } else { echo 'The file could not be moved.
'; } }else{/*no file in here*/} } //end of for loop } else { // If the query did not run OK. echo 'Your submission could not be processed due to a system error. We apologize for any inconvenience.
'; echo 'this is the error: '. mysql_error(); } //refresh the page to clear out the POSTback }//end of username and password check else{ echo 'The Username/Password that you entered does not match.
'; } //****GENERATE RSS FEED******************************************************************** include('feed_maker.php'); $makerss = new GenerateFeed; $genFile = $makerss->makeFeed($TABLENAME,$websiteRoot, $pageTitle, $rssDesc, $rssLink, $rssFileName); //***************************************************************************************** } // End of the main Submit conditional. ?>$dateTime
"; //anchor tag set for easier linking echo "$com
"; //**************************************************************************************** //****DISPLAY POSTED BY****************************************************************** //if multiUsers is turned on in settings.php, display the username that wrote the entry if($MULTIUSERS){ echo "Posted By: $row[6]
"; } //*************************************************************************************** //****DISPLAY COMMENTS******************************************************************* //you must have comments turned on (in settings.php) for this to display if($COMMENTS){ if($row[5] != 0){ echo ""; }else{ echo ""; } } //*************************************************************************************** echo ""; //this is the break line. set it's appearance in the CSS file. } echo ""; ?>