Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (44 sloc) 1.84 KB
<?php
$modid = 2;
$mod_id = 5;
include("AMP/BaseDB.php");
include("AMP/BaseTemplate.php");
include("AMP/BaseModuleIntro.php");
include("dropdown.php");
$MM_editAction = $PHP_SELF;
if ($QUERY_STRING) {
$MM_editAction = $MM_editAction . "?" . $QUERY_STRING;
}
$MM_abortEdit = 0;
$MM_editQuery = "";
if (isset($MM_update) && (isset($MM_recordId))) {
$MM_editTable = "ride";
$MM_editColumn = "id";
$MM_recordId = "" . $MM_recordId . "";
$MM_editRedirectUrl = "ride.php";
$MM_fieldsStr = "publish|value";
$MM_columnsStr = "publish|none,none,NULL";
require ("DBConnections/insetstuff.php");
require ("DBConnections/dataactions.php"); }
$called__MMColParam = "1";
if (isset($HTTP_GET_VARS["email"]))
{$called__MMColParam = $HTTP_GET_VARS["email"];}
$called=$dbcon->Execute("SELECT * FROM ride WHERE email = " . $dbcon->qstr($called__MMColParam)) ;
?>
<?php if ($HTTP_GET_VARS["step"] == 'admin'){; ?>
Your posting has been added to the board. The moderator will appove yout posting soon.<?php } ?>
<?php if ($HTTP_GET_VARS["step"] == 'email'){; ?>
An e-mail has been sent to your e-mail account with insturctions on how to confirm your posting.<?php } ?>
<?php if ($called && $HTTP_GET_VARS["step"] == ($null)){; ?>
<form ACTION="<?php echo $MM_editAction?>" METHOD="POST" name="form1">
<?php echo $called->Fields("firstname")?>
&nbsp;
<?php echo $called->Fields("lastname")?>
&nbsp;
<?php echo $called->Fields("email")?>
<input type="submit" name="Submit" value="Add Posting">
<input type="hidden" name="publish" value="1">
<input type="hidden" name="MM_update" value="true">
<input type="hidden" name="MM_recordId" value="<?php echo $called->Fields("id") ?>">
</form><?php } ?>
<?php include("AMP/BaseFooter.php"); ?>