PHP Classes
elePHPant
Icontem

File: admin.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of NaiFPHP  >  Easy Cron  >  admin.php  >  Download  
File: admin.php
Role: Auxiliary script
Content type: text/plain
Description: for make a new cron
Class: Easy Cron
Schedule site down time period
Author: By
Last change:
Date: 8 years ago
Size: 1,095 bytes
 

Contents

Class file image Download
<?php

/****************************************************************************************
=========================================================================================
| @ Script Name : EasyCron
| @ Version : 1.0
| @ Description : Open and Close your website in fixed times .
| @ All rights reserved to : NaiF PHP
| @ Created In : 8-9-2006
| @ Support Site : http://www.naifphp.net
=========================================================================================
*****************************************************************************************/


include "easycron.class.php";

$EC = new MyEasyCron;

if(isset(
$_GET["EasyCron"]))
{
 
$start_close = $_GET["StartClose"];
 
$start_open = $_GET["StartRun"];
 
$iteration = $_GET["loop"];
 
$msg_close = $_GET["MsgClose"];
 
$show_back_time = $_GET["ViewStartRun"];

 
$EC->SaveCron($start_close, $start_open, $iteration, $msg_close, $show_back_time);

}
else
{

  echo
$EC->CronTable();

}

?>