| Server IP : 180.180.241.3 / Your IP : 216.73.216.25 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 : C:/AppServ/www/umedia3/login.upload/ |
Upload File : |
<?
;
include("../inc/config.inc.php");
head();
$s=tmq("select * from media_ftitems where id ='$editid' ");
$s=tmq_fetch_array($s);
$uploaddir ="$dcrs/_fulltext/$s[fttype]/$s[mid]/";
$uploadfile=$uploaddir."$s[filename].thumbimg.jpg";
$urlfile=$dcrURL."/_fulltext/$s[fttype]/$s[mid]/$s[filename].thumbimg.jpg";
if ($remove=='yes') {
@unlink($uploadfile);
redir("index.php?mid=$mid");
die;
}
if ($save=='yes') {
if (strlen($HTTP_POST_FILES['selectedfile']['tmp_name'])!=0) {
copy($HTTP_POST_FILES['selectedfile']['tmp_name'], $uploadfile);
fso_image_fixsize($uploadfile,"jpg",200);
}
}
$mdname=marc_gettitle($mid);
include("_REQPERM.php");
mn_lib();
$tbmn="width= 500 cellpadding=2 cellspacing=1 align=center bgcolor=888888";
html_htmlareajs();
?>
<BR>
<TABLE <?echo $tbmn;?>>
<FORM METHOD=POST ACTION="att.thubmimg.php" enctype="multipart/form-data">
<INPUT TYPE="hidden" name=save value=yes>
<INPUT TYPE="hidden" name=mid value="<? echo $mid;?>">
<INPUT TYPE="hidden" name=editid value="<? echo $editid;?>">
<TR>
<TD class=mnhead colspan=2><? echo getlang("á¡éä¢ÀÒ¾ÂèÍ::l::Edit screenshot");
echo "<BR><CENTER>$mdname</CENTER>";?></TD>
</TR><TR>
<TD class=table_td colspan=2><?
index_fticon($s,100,100);
?></TD>
</TR>
<SCRIPT LANGUAGE="JavaScript">
<!--
// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub camcap_FSCommand(ByVal command, ByVal args)\n');
document.write(' call camcap_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
function getobj(objid) {
var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1
if (ie||dom) {
var iframeobj=document.getElementById? document.getElementById(objid) : eval("document.all."+objid)
}
return iframeobj;
}
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2008 Adobe Systems Incorporated. All rights reserved.
function camcap_DoFSCommand(command, args) {
//alert(args);
if (command == "preview") {
preview(args)
}
}
function savesnap() {
mbclocal=getobj("MEMBERBC");
submitsaveframe.location="saveaction.php?id="+mbclocal.value;
}
function preview(wh) {
//wh=wh.replace('url:','');
dsp=getobj("dspdsp");
dsp.innerHTML="ÀÒ¾ãËÁè <BR><img src='./file/temp<? echo $useradminid?>.jpg?"+Math.random()+"' width=200 border=1 bordercolor=999999><BR><A HREF='att.captureflv.saveaction.php?mid=<? echo $mid?>&editid=<? echo $editid?>' class='a_btn smaller' >Save Picture</A> : <A HREF='att.captureflv.saveascover.php?mid=<? echo $mid?>&editid=<? echo $editid?>' class='a_btn smaller2' target='saveinstantcover'>Set cover</A>";
//dsp.innerHTML=dsp.innerHTML+"<BR><object width=1 height=1 ><param name='autostart' value='true'><param name='src' value='camera1.wav'><param name='autoplay' value='true'><param name='controller' value='true'><embed src='camera1.wav' controller='true' autoplay='true' autostart='True' type='audio/x-mplayer2' width=1 height=1 /></object>";
//alert(wh);
}
//-->
</SCRIPT>
<?
$fturl=get_fturl($s);
?><!-- [[<? echo $fturl;?>]] -->
<TR bgcolor=ffffff>
<TD colspan=2 align=center>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="530" height="350" id="camcap" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="flvcap2.swf?videostr=<? echo $fturl;?>&startvolume=1&autoplay=true&rand=<? echo randid();?>" /><param name="quality" value="high" /><param name="bgcolor" value="#f4f4f4" /> <embed src="flvcap2.swf?videostr=<? echo $fturl;?>&startvolume=1&autoplay=true&rand=<? echo randid();?>" quality="high" bgcolor="#f4f4f4" width="530" height="350" ID="camcap" name="camcap" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</TD>
</TR>
<TR bgcolor=ffffff>
<TD colspan=1 align=center>ÀÒ¾»Ñ¨¨ØºÑ¹<BR><img src="<? echo $urlfile;?>?<? echo rand();?>" width=200 style="border-width:1;border-style:inset;">
</TD><TD align=center>
<div ID="dspdsp"></div>
</TD>
</TR>
<TR bgcolor=ffffff>
<TD align=right colspan=2><B><A HREF="att.thubmimg.php?mid=<? echo $mid?>&editid=<? echo $editid?>&remove=yes" style="color:red" onclick="return confirm('delete?');"><? echo getlang("ź·Ôé§::l::Delete"); ?></A> </B> <A HREF="index.php?mid=<? echo $mid;?>">Back</A></TD>
</TR>
</FORM>
</TABLE><iframe name="saveinstantcover" style="display:none;"></iframe>
<?
foot();
?>