$dnum = date(Ymd)*4;
$from = $_GET['fr'];
if($from == ""){
$from = $_POST['fr'];
}
if($from != $dnum){
echo("<<<<Restricted Area>>>>" .
"
Sorry, you must Log In to view this Page
");
exit();
}
$usrn = $_GET['usrn'];
if($usrn == ""){
$usrn = $_POST['usrn'];
}
if($usrn == ""){
echo("<<<<Restricted Area>>>>" .
"
Problem with your username. Please Log In again.
");
exit();
}
$ID = $_GET['ID'];
$today = date("F j, Y");
$year1 = date(Y);
$year2 = $year + 1;
$year3 = $year + 2;
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_website', $dbcnx);
$listem = @mysql_query("SELECT ID,subject,time,filename,filesize,voices,date_rec,comment,dtnum FROM eco_sound WHERE ID='$ID'");
if (!$listem) {
echo("Problem retrieving Audio Profile.
Error: ". mysql_error()."
");
}else{
$row = mysql_fetch_array($listem);
$ID = $row['ID'];
$subject = $row['subject'];
$time = $row['time'];
$breaktime = explode(':',$time);
$breakcount = count($breaktime);
if($breakcount == 3){
$hr = $breaktime[0];
$mn = $breaktime[1];
$sc = $breaktime[2];
}elseif($breakcount == 2){
$hr = '';
$mn = $breaktime[0];
$sc = $breaktime[1];
}else{
$hr = '';
$mn = '';
$sc = $breaktime[0];
}
$filename = $row['filename'];
$filesize = $row['filesize'];
$voices = $row['voices'];
$date_rec = $row['date_rec'];
$chunk_rec = chunk_split($date_rec, 2, ':');
$chunk_arrc = explode(":", $chunk_rec);
$rec = $chunk_arrc[2].'/'.$chunk_arrc[3].'/'.$chunk_arrc[0].$chunk_arrc[1];
$comment = $row['comment'];
$dtnum = $row['dtnum'];
$chunk_dtnum = chunk_split($dtnum, 2, ':');
$chunk_arr = explode(":", $chunk_dtnum);
$up = $chunk_arr[2].'/'.$chunk_arr[3].'/'.$chunk_arr[0].$chunk_arr[1];
}
?>
Eco-$mart Library Administration
Audio Profile
Edit Audio Profile
Last Updated:
|
Voices: Names and descriptions of person(s) recorded. Multiple Voices on Multiple Lines.
|
Comments: Character Limit 225
|
©2007 - Data Base Interface - Custom Built at:
|
|