session_start();
include "shared.php";
initialise();
?>
$showList=$_GET[showList];
if ($showList==1){
insertHead("CRUMB Seminars - Main Menu");
}else{
insertHead("CRUMB Seminars - $title");
}
?>
| | |
if ($showList==1){
insertSeminarMainMenu();
}else{
insertSeminarSpecificContent();
}
?>
| | | |
| | | | | | |
function initialise(){
$_SESSION['open']=$_GET[op];
$_SESSION['adminBack']=$_SERVER['REQUEST_URI'];
$_SESSION['presentBack']=$_SERVER['REQUEST_URI'];
$_SESSION['imageViewerBack']=$_SERVER['REQUEST_URI'];
$_SESSION[bref]=$_SERVER['REQUEST_URI'];
//get seminar content data
global $semID, $title, $abstract, $dat, $dref,$focus, $scanText, $semLink, $colChip, $line2Text,$line3Text, $scanText,$subtitle;
$semID=$_GET[id];
$focus=$_GET[focus];
$line2Text="Main Menu";
selectDatabase("CoreDatabase"); // now get all participant ID values for this item
mysql_query("ALTER TABLE seminarTable ADD colChip TEXT");
$sql = mysql_query("SELECT title, abstract, date, colChip, subtitle FROM seminarTable WHERE id='$semID'");
$num_rows = mysql_num_rows($sql);
while ($row = mysql_fetch_row($sql)) {
$title=$row[0];
$line3Text=$row[5];
if ($title<>""){
$line2Text=$title;
}
$abstract=$row[1];
$dat=$row[2];
$colChip=$row[3];
$subtitle=$row[4];
$restOfScan="";
// $dref=substr($dat,6,2).".".substr($dat,4,2).".".substr($dat,0,4);
$dref=substr($dat,0,4);
$scanText="$scanText $abstract $title ";
}
global $transcript;
$transcript=$scanText;
}
?>
function insertSeminarMainMenu(){
//some useful variables for setting table spacing
$tableSideSpace=50;
$tableBottomSpace=20;
selectDatabase("CoreDatabase");
$selItem=$_GET[id];
$sql3="SELECT * FROM seminarTable ORDER BY Date DESC";
$result3=mysql_query($sql3);
$sublink=0;
$subCount=0;
?>
|
global $colChip, $scanText;
while ($row3=mysql_fetch_row($result3)) {
$colChip=$row3[4];
$subCount=$subCount+1;
$sublink=$sublink+1;
if ($subCount==3){
$subCount=1;
echo(" |
| |
| ");
}
?>
| |
}
?>
|
|
}
?>
function insertSemFrontImage($thisID){
global $semLink, $colChip;
selectDatabase("CoreDatabase");
$sql="SELECT * FROM seminarintroimagelinks WHERE Seminar='$thisID'";
//echo($sql);
$res=mysql_query($sql);
$thisCollection=-1;
while($row=mySql_fetch_row($res)){
$thisCollection=$row[2];
}
//echo($theseLinks); //this is the image collection
selectDatabase("AssetDatabase");
$sql = mysql_query("SELECT * FROM imagecollectiontable WHERE id=$thisCollection");
//echo("SELECT * FROM imageCollectionTable WHERE id=$thisIm");
while ($row = mysql_fetch_row($sql)) {
$imString=$row[3];
$ordinals=$row[4]."/";
}
//now get ordered list
$idArray = array();
$noItem=1;
while(strLen($imString)>1){
$imString=subStr($imString, 1, strLen($imString));
$ordinals=subStr($ordinals, 1, strLen($ordinals));
//echo("
$imString");
$nextSlash=strPos($imString,"/");
$seekVal=subStr($imString, 0, ($nextSlash));
$nextordSlash=strPos($ordinals,"/");
$seekordVal=subStr($ordinals, 0, ($nextordSlash));
if ($seekordVal==""){
$seekordVal=$noItem;
}
$noItem=$noItem+1;
//echo(" ($seekordVal) *$seekVal* ");
$idArray[$seekordVal]=$seekVal;
$imString=subStr($imString, $nextSlash, strLen($imString));
$ordinals=subStr($ordinals, $nextordSlash, strLen($ordinals));
}
//now show the images
//now show the images
selectDatabase("AssetDatabase");
for ($imLop=1; $imLop
|
|
if ($imCount>6){
$imCount=1;
//echo("");
}
$imString=subStr($imString, $nextSlash, strLen($imString));
}
}
//echo("seeval is $seekVal
");
?>
function insertSeminarSpecificContent(){
global $imInsertString, $focus,$title,$subtitle,$dref;
getIntroImageData($_GET[id]);
?>
|
|
getSeminarTabs() ?>
|
| |
""){ ?>
" border='0' width='150' height='100'> |
if($colChip==$nothing){
$colChip="#996666";
}
?>
|
|
|
}
?>
if ($focus==""){
$focus="sessions";
}
?>
if ($focus=="sessions"){
getSeminarSessions();
getSeminarScheduleScanData();
}
?>
if ($focus=="events"){
getSeminarEveningSchedule();
}
?>
if ($focus=="links"){
getSeminarLinks();
}
?>
if ($focus=="attendees"){
dumpAttendeeCollection("CoreDatabase","SELECT peopleCollection FROM seminarattendeelinks WHERE Seminar='$_GET[id]'");
}
if ($focus=="images"){
dumpImageCollection("CoreDatabase","SELECT * FROM seminararchiveimagelinks WHERE Seminar=$_GET[id]");
}
?>
| |
if($_GET[showList]<>1){
insertBrandingImages();
}
?>
|
}
?>
function getSeminarTabs(){
global $link_id, $tabCount;
$id=$_GET[id];
$tabcount=0;
$interviewID=$_GET[id];
$refArray = array("sessions","events","images","attendees","links");
$dbArray=array("CoreDatabase","CoreDatabase","CoreDatabase","CoreDatabase","CoreDatabase","CoreDatabase","CoreDatabase","CoreDatabase");
$queryArray=array("SELECT * FROM seminarpresentationlinks WHERE Seminar=$_GET[id]", "SELECT * FROM seminareventLinks WHERE Seminar=$_GET[id]","SELECT * FROM seminararchiveimagelinks WHERE Seminar=$_GET[id]",
"SELECT peopleCollection FROM seminarattendeelinks WHERE Seminar='$_GET[id]'",
"SELECT * FROM seminarlinklinks WHERE Seminar=$_GET[id]");
?>
|
for ($lop=1; $lop<=5; $lop++){
$doShow="F";
$doShow=testQuery($dbArray[$lop-1], $queryArray[$lop-1]);
if ($doShow=="T"){
?>
>
|
$tabCount=$tabCount+1;
if($tabCount==2){
$tabCount=0;
echo("
");
}
}
}
?>
}
?>
function getSeminarSessions(){
global $link_id;
selectDatabase("CoreDatabase");
$query="SELECT * FROM seminarpresentationlinks WHERE Seminar=$_GET[id]";
//echo($query);
$result = mysql_query($query, $link_id);
while($row = mysql_fetch_row($result)) {
$presColID=$row[2];
}
if ($presColID<>""){
$query="SELECT * FROM seminarpresentationlinks WHERE Seminar=$_GET[id]";
//echo($query);
//echo("SELECT * FROM presentationCollectionTable WHERE id=$presColID");
$result = mysql_query("SELECT * FROM presentationcollectiontable WHERE id=$presColID");
while($row = mysql_fetch_row($result)) {
$datString=$row[3];
}
//echo($presLinks);
//now go through links and create SQL Statment for getting presentation list:
$SQLStr="";
$datCount=1;
//now go through datString
while(strLen($datString)>1){
$datString=subStr($datString, 1, strLen($datString));
//echo("
$datString");
$nextSlash=strPos($datString,"/");
$seekVal=subStr($datString, 0, ($nextSlash));
selectDatabase("CoreDatabase");
$result="SELECT * FROM presentationtable WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
$userowIdRef=$userow[0];
$linkDat=$userow[1]." - ".$userow[2]."
";
if ($SQLStr<>""){
$SQLStr="$SQLStr OR ";
}
$SQLStr="$SQLStr id='$userow[0]'";
//echo("$datCount) $linkDat");
$datString=subStr($datString, $nextSlash, strLen($datString));
$datCount=$datCount+1;
}
if ($SQLStr<>""){
$SQLStr="$SQLStr ORDER BY evdate, startTime";
$SQLStr="SELECT * FROM presentationtable WHERE $SQLStr";
}
//echo("hello $SQLStr
");
//now test the query
$currentDate="NoDateSet";
$sql=mysql_query($SQLStr);
while($row = mysql_fetch_row($sql)) {
//echo($row[2]);
global $curentStartTime;
//echo("row 4 is $row[4]");
$currentStartTime=parseTime($row[4]);
//echo("cs is $currentStartTime");
$currentTitle=$row[2];
$currentPresID=$row[0];
$thisDate=parseDate($row[3]);
if ($currentDate<>$thisDate){
$months=array("January","February","March","April","May","June","July","August","September","October","November","December");
$m=substr($thisDate,3,2);
//echo($m);
$month=$months[((Int) $m)-1];
//$month=$months[$m];
$yr=substr($thisDate,6,4);
$dy=substr($thisDate,0,2);
echo("
$dy $month $yr
");
// THE NEXT BLOCK ADDS A SLOT FOR THE NEW DATE (left of table)
$currentDate=$thisDate;
?>
//global $currentDate;
//echo("$currentDate");?>
//THIS ENDS THE 'CURRENT DATE IS DIFFERENT' CONDITION!
}
?>
global $currentStartTime;
$currentStartTime=parseTime($row[4]);
$currentEndTime=parseTime($row[5]);
echo(" $currentStartTime - $currentEndTime "); ?>
echo("> $currentTitle"); ?>
Speakers:
}}}
?>
function getSeminarScheduleScanData(){
global $link_id, $scanText;
selectDatabase("CoreDatabase");
$query="SELECT * FROM seminarpresentationlinks WHERE Seminar=$_GET[id]";
//echo($query);
$result = mysql_query($query, $link_id);
while($row = mysql_fetch_row($result)) {
$presColID=$row[2];
}
if ($presColID<>""){
$query="SELECT * FROM seminarpresentationlinks WHERE Seminar=$_GET[id]";
//echo($query);
//echo("SELECT * FROM presentationCollectionTable WHERE id=$presColID");
$result = mysql_query("SELECT * FROM presentationcollectiontable WHERE id=$presColID");
while($row = mysql_fetch_row($result)) {
$datString=$row[3];
}
//echo($presLinks);
//now go through links and create SQL Statment for getting presentation list:
$SQLStr="";
$datCount=1;
//now go through datString
while(strLen($datString)>1){
$datString=subStr($datString, 1, strLen($datString));
//echo("
$datString");
$nextSlash=strPos($datString,"/");
$seekVal=subStr($datString, 0, ($nextSlash));
selectDatabase("CoreDatabase");
$result="SELECT * FROM presentationtable WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
$userowIdRef=$userow[0];
$linkDat=$userow[1]." - ".$userow[2]."
";
if ($SQLStr<>""){
$SQLStr="$SQLStr OR ";
}
$SQLStr="$SQLStr id='$userow[0]'";
//echo("$datCount) $linkDat");
$datString=subStr($datString, $nextSlash, strLen($datString));
$datCount=$datCount+1;
}
if ($SQLStr<>""){
$SQLStr="$SQLStr ORDER BY evdate, startTime";
$SQLStr="SELECT * FROM presentationtable WHERE $SQLStr";
}
//echo("hello $SQLStr
");
//now test the query
$currentDate="NoDateSet";
$sql=mysql_query($SQLStr);
while($row = mysql_fetch_row($sql)) {
//echo($row[2]);
global $curentStartTime;
//echo("row 4 is $row[4]");
$currentStartTime=parseTime($row[4]);
//echo("cs is $currentStartTime");
$currentTitle=$row[2];
$currentPresID=$row[0];
$thisDate=parseDate($row[3]);
if ($currentDate<>$thisDate){
$months=array("January","February","March","April","May","June","July","August","September","October","November","December");
$m=substr($thisdate,3,2);
$month=$months[$m];
$yr=substr($thisDate,6,4);
$dy=substr($thisDate,0,2);
// THE NEXT BLOCK ADDS A SLOT FOR THE NEW DATE (left of table)
$currentDate=$thisDate;
?>
//global $currentDate;
//echo("$currentDate");?>
//THIS ENDS THE 'CURRENT DATE IS DIFFERENT' CONDITION!
}
?>
global $currentStartTime;
$currentStartTime=parseTime($row[4]);
$currentEndTime=parseTime($row[5]);
$scanText="$scanText $currentTitle ";
getSpeakersScanData($currentPresID);
}}}
?>
function getSeminarEveningSchedule(){
global $link_id;
selectDatabase("CoreDatabase");
$query="SELECT * FROM seminareventlinks WHERE Seminar=$_GET[id]";
//echo($query);
$result = mysql_query($query, $link_id);
while($row = mysql_fetch_row($result)) {
$presColID=$row[2];
}
if ($presColID<>""){
$query="SELECT * FROM seminareventlinks WHERE Seminar=$_GET[id]";
//echo($query);
//echo("SELECT * FROM presentationCollectionTable WHERE id=$presColID");
$result = mysql_query("SELECT * FROM eventcollectiontable WHERE id=$presColID");
while($row = mysql_fetch_row($result)) {
$datString=$row[3];
}
//echo($presLinks);
//now go through links and create SQL Statment for getting presentation list:
$SQLStr="";
$datCount=1;
//now go through datString
while(strLen($datString)>1){
$datString=subStr($datString, 1, strLen($datString));
//echo("
$datString");
$nextSlash=strPos($datString,"/");
$seekVal=subStr($datString, 0, ($nextSlash));
selectDatabase("CoreDatabase");
$result="SELECT * FROM eventtable WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
$userowIdRef=$userow[0];
$linkDat=$userow[1]." - ".$userow[2]."
";
if ($SQLStr<>""){
$SQLStr="$SQLStr OR ";
}
$SQLStr="$SQLStr id='$userow[0]'";
//echo("$datCount) $linkDat");
$datString=subStr($datString, $nextSlash, strLen($datString));
$datCount=$datCount+1;
}
if ($SQLStr<>""){
$SQLStr="$SQLStr ORDER BY evdate, startTime";
$SQLStr="SELECT * FROM eventtable WHERE $SQLStr";
}
//echo("hello $SQLStr
");
//now test the query
$currentDate="NoDateSet";
$sql=mysql_query($SQLStr);
while($row = mysql_fetch_row($sql)) {
//echo($row[2]);
global $curentStartTime;
//echo("row 4 is $row[4]");
$currentStartTime=parseTime($row[4]);
//echo("cs is $currentStartTime");
$currentTitle=$row[2];
$currentDetails=$row[6];
$currentPresID=$row[0];
$thisDate=parseDate($row[3]);
if ($currentDate<>$thisDate){
$months=array("January","February","March","April","May","June","July","August","September","October","November","December");
$m=substr($thisDate,3,2);
//echo($m);
$month=$months[((Int) $m)-1];
$yr=substr($thisDate,6,4);
$dy=substr($thisDate,0,2);
echo("
$dy $month $yr
");
// THE NEXT BLOCK ADDS A SLOT FOR THE NEW DATE (left of table)
$currentDate=$thisDate;
?>
//global $currentDate;
//echo("$currentDate");?>
//THIS ENDS THE 'CURRENT DATE IS DIFFERENT' CONDITION!
}
?>
global $currentStartTime, $scanText;
$currentStartTime=parseTime($row[4]);
$currentEndTime=parseTime($row[5]);
echo("$currentStartTime - $currentEndTime "); ?>
echo("> $currentTitle"); ?>
Details: //getSpeakers($currentPresID)?>
$scanText="$scanText $currentTitle $currentDetails";?>
}}}
?>
function getSeminarLinks(){
global $link_id, $title, $scanText;
selectDatabase("CoreDatabase");
$sql="SELECT * FROM seminarlinklinks WHERE Seminar=$_GET[id]";
$result = mysql_query($sql, $link_id);
$row=mysql_fetch_row($result);
$linkID=$row[2];
selectDatabase("AssetDatabase");
$sql = mysql_query("SELECT * FROM linkcollectiontable WHERE id=$linkID");
//echo("SELECT * FROM linkCollectionTable WHERE id=$linkID");
//echo("SELECT * FROM imageCollectionTable WHERE id=$thisIm");
while ($row = mysql_fetch_row($sql)) {
$imString=$row[3];
}
//echo($imString);
$imCount=1;
//now go through imstring
while(strLen($imString)>1){
$imString=subStr($imString, 1, strLen($imString));
//echo("
$imString");
$nextSlash=strPos($imString,"/");
$seekVal=subStr($imString, 0, ($nextSlash));
selectDatabase("AssetDatabase");
$result="SELECT * FROM linktable WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
//$linkDat=$userow[2]."
> ".$userow[1]."
";
echo("> $userow[1]");
$scanText="$scanText $userow[3] $userow[2] ";
if($userow[3]<>""){
echo(" - ");
echo("$userow[3]
");
}else{
echo("
");
}
$imString=subStr($imString, $nextSlash, strLen($imString));
$imCount=$imCount+1;
}
echo("");
}
?>
function dumpAttendeeCollection($thisDB, $thisSql){
//echo($thisSql);
//echo("in attendee");
global $scanText;
$wid=$_GET[id];
selectDatabase($thisDB);
$sql=$thisSql;
//echo($sql);
$result = mysql_query($sql);
$linkrow=mysql_fetch_row($result);
$linkID=$linkrow[0];
//echo("linkID=$linkID");
selectDatabase("CoreDatabase");
$sql = mysql_query("SELECT * FROM peoplecollectiontable WHERE id=$linkID");
//echo("SELECT * FROM linkCollectionTable WHERE id=$linkID");
//echo("SELECT * FROM imageCollectionTable WHERE id=$thisIm");
while ($row = mysql_fetch_row($sql)) {
//echo("hello");
$imString=$row[3];
}
//echo($imString);
echo("
");
$imCount=1;
//now go through attendee string
while(strLen($imString)>1){
$imString=subStr($imString, 1, strLen($imString));
//echo("
$imString");
$nextSlash=strPos($imString,"/");
$seekVal=subStr($imString, 0, ($nextSlash));
selectDatabase("CoreDatabase");
$result="SELECT * FROM peopletable WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
//echo($userow[0].$userow[2]."
> ".$userow[1]);
echo("> $userow[1] $userow[3] $userow[2]
");
$scanText=" $scanText $userow[1] $userow[3] $userow[2]";
$imString=subStr($imString, $nextSlash, strLen($imString));
$imCount=$imCount+1;
}
}
function insertBrandingImages(){
echo("");
global $interviewID, $link_id;
selectDatabase("CoreDatabase");
$sql="SELECT * FROM seminarbrandingimagelinks WHERE seminar=$_GET[id]";
//echo($sql);
$res=mysql_query($sql);
$thisCollection=-1;
while($row=mySql_fetch_row($res)){
$thisCollection=$row[2];
}
//echo($theseLinks); //this is the image collection
selectDatabase("AssetDatabase");
$sql = mysql_query("SELECT * FROM imagecollectiontable WHERE id=$thisCollection", $link_id);
//echo("SELECT * FROM imageCollectionTable WHERE id=$thisIm");
while ($row = mysql_fetch_row($sql)) {
$imString=$row[3];
}
//echo($imString);
//now show the images
selectDatabase("AssetDatabase");
echo("");
$imCount=1;
//now go through imstring
$fullimdump="";
while(strLen($imString)>1){
$imString=subStr($imString, 1, strLen($imString));
//echo("
$imString");
$nextSlash=strPos($imString,"/");
$seekVal=subStr($imString, 0, ($nextSlash));
$result="SELECT * FROM imageDatabase WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
$thumbWidth=$userow[6];
$thumbHeight=$userow[7];
$fullimdump="$fullimdump ";
//echo("$thumbWidth $thumbHeight");
//$showThumbHeight=$thumbHeight/($thumbHeight/100);
//$showThumbWidth=$thumbWidth/($thumbHeight/100);
//$largeWidth=$userow[8];
//$largeHeight=$userow[9];
//echo("$thumbWidth $thumbHeight");
//$showLargeHeight=$largeHeight/($largeHeight/100);
//$showLargeWidth=$largeWidth/($largeHeight/100);
//echo("seeval is $seekVal
");
?>
if ($imCount>6){
$imCount=1;
echo("
");
}
$imString=subStr($imString, $nextSlash, strLen($imString));
}
?>
//echo("
");
//end now show the images
}
function insertArchiveImages(){
$sql="SELECT * FROM seminararchiveimagelinks WHERE Seminar='$_GET[id]'";
//echo($sql);
$res=mysql_query($sql);
$thisCollection=-1;
while($row=mySql_fetch_row($res)){
$thisCollection=$row[2];
}
//echo($theseLinks); //this is the image collection
selectDatabase("AssetDatabase");
$sql = mysql_query("SELECT * FROM imagecollectiontable WHERE id=$thisCollection");
}
function dumpImageCollection($thisDB, $sql){
selectDatabase($thisDB);
global $thisCollection, $scanText;
//$sql=$thisSQL;
//echo($sql);
//echo($sql);
$res=mysql_query($sql);
$thisCollection=-1;
while($row=mySql_fetch_row($res)){
$thisCollection=$row[2];
//echo("COL=$thisCollection $row[1] $row[2] $row[3]*");
}
//this is the image collection
selectDatabase("AssetDatabase");
$sql = mysql_query("SELECT * FROM imagecollectiontable WHERE id=$thisCollection");
//echo("SELECT * FROM imageCollectionTable WHERE id=$thisCollection");
while ($row = mysql_fetch_row($sql)) {
$imString=$row[3];
$ordinals=$row[4]."/";
}
//echo("DATA - $imString $ordinals");
//now get ordered list
$idArray = array();
$noItem=1;
while(strLen($imString)>1){
$imString=subStr($imString, 1, strLen($imString));
$ordinals=subStr($ordinals, 1, strLen($ordinals));
//echo("
$imString");
$nextSlash=strPos($imString,"/");
$seekVal=subStr($imString, 0, ($nextSlash));
$nextordSlash=strPos($ordinals,"/");
$seekordVal=subStr($ordinals, 0, ($nextordSlash));
if ($seekordVal==""){
$seekordVal=$noItem;
}
$noItem=$noItem+1;
//echo(" ($seekordVal) *$seekVal* ");
$idArray[$seekordVal]=$seekVal;
$imString=subStr($imString, $nextSlash, strLen($imString));
$ordinals=subStr($ordinals, $nextordSlash, strLen($ordinals));
}
//echo($imString);
//now show the images
selectDatabase("AssetDatabase");
echo("
");
$imCount=1;
for ($imLop=1; $imLop");
$scanText="$scanText $title ";
?>
| > |
|
if ($imCount>3){
$imCount=1;
echo("
");
}
$imString=subStr($imString, $nextSlash, strLen($imString));
}
echo("
");
//echo("
");
//end now show the images
}
?>
function getIntroImageData($thisID){
global $interviewID, $imInsertString;
$imInsertString="";
selectDatabase("CoreDatabase");
$sql="SELECT * FROM seminarintroimagelinks WHERE Seminar='$thisID'";
//echo($sql);
$res=mysql_query($sql);
$thisCollection=-1;
while($row=mySql_fetch_row($res)){
$thisCollection=$row[2];
}
//echo($theseLinks); //this is the image collection
selectDatabase("AssetDatabase");
$sql = mysql_query("SELECT * FROM imagecollectiontable WHERE id=$thisCollection");
//echo("SELECT * FROM imageCollectionTable WHERE id=$thisIm");
while ($row = mysql_fetch_row($sql)) {
$imString=$row[3];
}
//echo($imString);
//now show the images
selectDatabase("AssetDatabase");
if ($imString==$nothing){
//$use="1){
$imString=subStr($imString, 1, strLen($imString));
//echo("
$imString");
$nextSlash=strPos($imString,"/");
$seekVal=subStr($imString, 0, ($nextSlash));
$result="SELECT * FROM imageDatabase WHERE id='$seekVal'";
//echo($result);
$sql=mysql_query($result);
$userow=mysql_fetch_row($sql);
$thumbWidth=$userow[6];
$thumbHeight=$userow[7];
//echo("$thumbWidth $thumbHeight");
//$showThumbHeight=$thumbHeight/($thumbHeight/100);
//$showThumbWidth=$thumbWidth/($thumbHeight/100);
//$largeWidth=$userow[8];
//$largeHeight=$userow[9];
//echo("$thumbWidth $thumbHeight");
//$showLargeHeight=$largeHeight/($largeHeight/100);
//$showLargeWidth=$largeWidth/($largeHeight/100);
global $use;
//echo("seeval is $seekVal
");
$imInsertString="6){
$imCount=1;
//echo("
");
}
$imString=subStr($imString, $nextSlash, strLen($imString));
}
//echo("
");
//end now show the images
}
?>