Location: PHPKode > projects > Camera Life > cameralife/admin/register.php
<?php
  # Allow you to submit information about your site to me
/**Enables you to email the lead developer of CameraLife
*
*You may send us your feedbacks and if you like we may list your site on our homepage.
*@link http://fdcl.sourceforge.net
 *@version 2.6.2
  *@author Will Entriken <hide@address.com>
  *@copyright Copyright (c) 2001-2009 Will Entriken
  *@access public
*/
/**
*/
  $features=array('database','security');
  require "../main.inc";
  $cameralife->base_url = dirname($cameralife->base_url);

  $cameralife->Security->authorize('admin_customize', 1);
  $stats = new Stats;
  $counts = $stats->GetCounts();
?>
<html>
<head>
  <title><?= $cameralife->GetPref('sitename') ?></title>
  <link rel="stylesheet" href="admin.css">
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>

<div id="header">
<h1>Site Administration &ndash; Register</h1>
<?php
  $home = $cameralife->GetIcon('small');
  echo '<a href="'.$home['href']."\"><img src=\"".$cameralife->IconURL('small-main')."\">".$home['name']."</a>\n";
?> |
<a href="index.php"><img src="<?= $cameralife->IconURL('small-admin')?>">Site Administration</a>
</div>

<p>
  We would appreciate if you mail this to hide@address.com with
  the subject CAMERALIFE-FEEDBACK including any of your feedback.
</p>

<p style="border:3px solid brown; background: tan; color: black; padding:20px">
  From: <?= $cameralife->GetPref('owner_email') ?><br>
  To: hide@address.com<br>
  Subj: CAMERALIFE-FEEDBACK<br>
  <br>
  To the Camera Life team,<br>
  &nbsp;<br>
  I have set up a site named <strong><?= $cameralife->GetPref('sitename') ?></strong> at <strong><?= str_replace('admin','',$cameralife->base_url) ?></strong> based on the <strong><?= $cameralife->version ?></strong> version of Camera Life.
  It has been up for <strong><?= $counts['daysonline'] ?></strong> days, contains <strong><?= $counts['photos'] ?></strong> photos and is running on <strong><?= eregi_replace('server.*','',eregi_replace('<[^>]*>', '', $_SERVER['SERVER_SIGNATURE'])) ?></strong>.<br>
  &nbsp;<br>
  You <strong>may/may not (pick one!)</strong> list my site on your Camera Life software demo page.<br>
  &nbsp;<br>
  I have some comments about the software, namely:<br>
  &nbsp;<br>
  <i><u><strong>comments</strong></u></i><br>
  &nbsp;<br>&nbsp;<br>
  Cheers,<br>
  &nbsp;<br>
  <strong>Your Name</strong><br>
  <?= $cameralife->GetPref('owner_email') ?><br>
</p>

</body>
</html>


Return current item: Camera Life