accesslevel != 'Admin') {
header('Location: ../login.php');
exit;
}
$database = new Database(DB_HOST, DB_NAME, DB_USER, DB_PASS, DB_PORT, DB_SCMA);
$dbconn = $database->getConn();
$tab = 'permalink'; $action = 'permalink';
$conn_obj = new permalink_Class($dbconn, $_SESSION['user']->id);
$conn_rows = $conn_obj->getRows();
$maps_obj = new map_Class($dbconn, $_SESSION['user']->id);
$map_rows = $maps_obj->getRows();
$maps = array();
while($row = pg_fetch_assoc($map_rows)){
$maps[$row['id']] = $row;
}
?>
ID |
Map |
Description |
Query |
Created |
Expires |
Visits |
Limit |
Hash |
Actions |
=$row->id?> |
=$maps[$row->map_id]['name']?> |
=$row->description?> |
=str_replace('&', '', urldecode($row->query))?> |
=$row->created?> |
=$row->expires?> |
=$row->visits?> |
=$row->visits_limit?> |
=$row->hash?>
|
|
×
Note: Permalinks will be auto-deleted on when they expire by time or run out of visits. Limit of 0, disables visits limitation.
×
Note: In expires you can write PostgreSQL TIMESTAMP values, like '1 hour', '1 day'.
For more
see here.