Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (51 sloc) 1.752 kb
<?php
$modid = 2;
$mod_id = 19;
include("AMP/BaseDB.php");
include("AMP/BaseTemplate.php");
include("AMP/BaseModuleIntro.php");
include("dropdown.php");
?><?php
// *** Edit Operations: declare Tables
$MM_editAction = $PHP_SELF;
if ($QUERY_STRING) {
$MM_editAction = $MM_editAction . "?" . $QUERY_STRING;
}
$MM_abortEdit = 0;
$MM_editQuery = "";
?><?php
// *** Update Record: set variables
if (isset($MM_update) && (isset($MM_recordId))) {
// $MM_editConnection = $MM_freedomrising_STRING;
$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) );
if( $called ) {
$called_numRows=0;
$called__totalRows=$called->RecordCount();
?>
<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="Remove">
<input type="hidden" name="publish" value="0">
<input type="hidden" name="MM_update" value="true">
<input type="hidden" name="MM_recordId" value="<?php echo $called->Fields("id") ?>">
</form>
<?php
$called->Close();
}
?>
<?php include("AMP/BaseFooter.php"); ?>
Jump to Line
Something went wrong with that request. Please try again.