|
|
|
|
Execute($passchange_query_raw);
while (!$passchange->EOF) {
if ((!isset($_GET['cID']) || (isset($_GET['cID']) && ($_GET['cID'] == $passchange->fields['customers_id']))) && !isset($cInfo) && (substr($action, 0, 3) != 'new')) {
$cInfo = new objectInfo($passchange->fields);
}
if (isset($cInfo) && is_object($cInfo) && ($passchange->fields['customers_id'] == $cInfo->customers_id)) {
echo ' ' . "\n";
} else {
echo ' ' . "\n";
}
?>
fields['customers_lastname'].' '.$passchange->fields['customers_firstname'].''; ?> |
fields['customers_email_address']; ?> |
fields['customers_id'] == $cInfo->customers_id) ) { echo zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '' . zen_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . ''; } ?> |
MoveNext();
}
?>
display_count($passchange_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_CUSTOMERS); ?> |
display_links($passchange_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_GET['page']); ?> |
|
|
'' . $cInfo->customers_lastname . ' ' . $cInfo->customers_firstname . '');
$contents = array('form' => zen_draw_form('passchange', FILENAME_PASSCHANGE, 'page=' . $_GET['page'] . '&cID=' . $cInfo->customers_id . '&action=save'));
$contents[] = array('text' => ' '.PASSCHANGE_CUSTOMERS_NAME_BOX.' ' . $cInfo->customers_lastname . ' ' . $cInfo->customers_firstname . '');
$contents[] = array('text' => ' '.PASSCHANGE_CUSTOMERS_EMAIL_BOX.' ' . $cInfo->customers_email_address . '');
$contents[] = array('text' => ' '.PASSCHANGE_CUSTOMERS_NEW_PASSWORD_BOX.' ' . zen_draw_input_field('customers_password', ''));
$contents[] = array('align' => 'center', 'text' => ' ' . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' ' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '');
break;
default:
if (is_object($cInfo)) {
$heading[] = array('text' => '' . $cInfo->customers_lastname . ' ' . $cInfo->customers_firstname . '');
$contents[] = array('align' => 'center', 'text' => ' '.PASSCHANGE_CUSTOMERS_NO_BUTTON_LINKS_BOX.'');
$contents[] = array('text' => ' '.PASSCHANGE_CUSTOMERS_NAME_BOX.' ' . $cInfo->customers_lastname . ' ' . $cInfo->customers_firstname . '');
$contents[] = array('text' => ' '.PASSCHANGE_CUSTOMERS_EMAIL_BOX.' ' . $cInfo->customers_email_address . '');
}
break;
}
if ( (zen_not_null($heading)) && (zen_not_null($contents)) ) {
echo ' ' . "\n";
$box = new box;
echo $box->infoBox($heading, $contents);
echo ' | ' . "\n";
}
?>
|
|