( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<style type="text/css">
<!--
@charset "utf-8";
/* CSS Document */
.uploadifyQueueItem {
text-align:left;
font-size: 14px;
color:#666;
border: 0px solid #E5E5E5;
padding: 5px;
width:620px;
}.uploadsid {
font-size: 14x;
border:0px solid #E5E5E5;
margin-top: 5px;
padding: 5px;
width:620px;
}
.uploadifyError {
border: 1px solid #FBCBBC !important;
background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {
float: right;
margin-top:22px;
width:35px
}
.uploadifyProgress {
background-image:url(images/uploadifyProgress.png);
background-repeat:no-repeat;
margin-top: 5px;
width:587px;
}
.uploadifyProgressBar {
background-image:url(images/uploadifyProgressBar.png);
background-repeat:no-repeat;
width: 1px;
height: 19px;
}
#fileQueue {
width:100%;
height:auto;
}
.style7 {font-size: 10px}
.style8 {font-size: 11px}
-->
</style>
<script type="text/javascript" src="v/scripts/swfobject.js"></script>
<?php
$oldPic = $_GET["oldpic"];
$picID = $db ->base64url_decode($_GET["pic"]);
$action = $_GET["action"];
switch ($action)
{
case "filter" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=filter&msg_id=0";
break;
case "Replace" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=replace&msg_id=0";
break;
case "auto" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=auto&mag=yes&msg_id=0";
break;
case "filter" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=filter&msg_id=0";
break;
case "meme" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=meme&mag=meme&msg_id=0";
break;
case "frame" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=frame&mag=yes&msg_id=0";
break;
case "custom" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=custom&mag=custom&msg_id=0";
break;
case "cards" :
$urlaction = $siteaddress."indexAlone.php?mode=cropme&action=cards&mag=cards&msg_id=0";
break;
default :
$urlaction = $siteaddress."indexAlone.php?mode=updateReport&msg_id=0&category=alert-success&msg=Successfully+Published";
break;
}
$sector = $_GET["sector"];
$custom = $_GET["custom"];
if($custom == "yes") { $custom = ",'custom': 'yes'"; } else { $custom = "";}
switch ($sector) {
case "Batch Branding" :
$catalogid = 0;
$url = $siteaddress."v/brandit.php";
$type = ",'sector': 'batchbranding'";
$extension = "'*.jpg;*.png;*.jpeg;*.gif'";
$queueSizeLimit = "500";
?><script type="text/javascript" src="v/scripts/jqueryReporterBatch.js"></script> <?php
break;
case "Startags" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'theme'";
$extension = "'*.jpg;*.pndg;*.jpeg;*.gitf'";
$queueSizeLimit = "1";
?><script type="text/javascript" src="v/scripts/jqueryReporterS.js"></script> <?php
break;
case "Graphics" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'addMyGraphics'";
$extension = "'*.jpg;*.png;*.jpeg;*.gif'";
$queueSizeLimit = "3000";
?><script type="text/javascript" src="v/scripts/jqueryReporterL.js"></script> <?php
break;
case "Replace" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'replaceit','who': '$catalogidX','oldpic': '$oldPic','picID': '$picID'";
$extension = "'*.jpg;*.png;*.jpeg;*.gitf'";
$queueSizeLimit = "500";
?><script type="text/javascript" src="v/scripts/jqueryReporterReplace.js"></script> <?php
break;
//uploads themese
case "addtoGallery" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'mygallery'";
$extension = "'*.jpg;*.png;*.jpeg;*.gif'";
$queueSizeLimit = "100";
?><script type="text/javascript" src="v/scripts/jqueryReporterMyGallery.js"></script> <?php
break;
case "Distribution" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'distribution'";
$extension = "'*.flv;*.mp4;*.mp3;*.avi;*.3gp;*.wma;*.mov;*.m4v;*.qt;*.rm;*.mpeg;*.divx;*.asf;*.png;*.jpg;*.pdf;*.jpeg;*.gif'";
$queueSizeLimit = "5";
?><script type="text/javascript" src="v/scripts/jqueryReporterD.js"></script> <?php
break;
case "Gallery" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'market'";
$extension = "'*.jpg;*.png;*.jpeg'";
$queueSizeLimit = "2000";
?><script type="text/javascript" src="v/scripts/jqueryReporterG.js"></script> <?php
break;
case "3D" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': '3DFonts'";
$extension = "'*.png;'";
$queueSizeLimit = "2000";
?><script type="text/javascript" src="v/scripts/jqueryReporterFonts.js"></script> <?php
break;
case "Profile Picture" :
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'profilepicture'";
$extension = "'*.jpg;*.png;*.jpeg'";
$queueSizeLimit = "1";
?><script type="text/javascript" src="v/scripts/jqueryReporterP.js"></script> <?php
break;
case "Replaceee" :
$catalogid = $_GET["pic"];
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'replacebrand'";
$extension = "'*.jpg;*.png;*.jpeg'";
$queueSizeLimit = "1";
?><script type="text/javascript" src="v/scripts/jqueryReporterR.js"></script> <?php
break;
default:
$catalogid = 0;
$url = $siteaddress."v/reportuploader2.php";
$type = ",'sector': 'default'";
$queueSizeLimit = "10";
$extension = "'*.png;*.jpg;*.jpeg;*.gif'";
?>
<script type="text/javascript" src="v/scripts/jqueryReporter.js"></script>
<?php
break;
}
?> <script type="text/javascript" src="<?php echo $siteaddress;?>js/jquery-1.9.1.min.js"></script>
<?php if(!empty($_GET["active"] )) { $appno = $_GET["active"];} else {$appno= "254722407698"; } ?>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#uploadify").uploadify({
'uploader' : '<?php echo $siteaddress; ?>v/scripts/up.swf',
'script' : '<?php echo $url; ?>',
'cancelImg' : 'v/images/no.png',
'folder' : 'v/uploads/raw',
'width' : '155',
'height' : '58',
'queueID' : 'fileQueue',
'auto' : true,
'queueSizeLimit' : <?php echo $queueSizeLimit ?>,
'fileDesc' : "Select pictures to upload",
'fileExt' : <?php echo $extension ?>,
'checkScript' : '<?php echo $siteaddress; ?>v/checkfile.php',
'scriptData' : {'u': '<?php echo $appno; ?>-<?php echo $catalogid; ?>-<?php echo $_SESSION['euserid']; ?>'<?php echo $type; ?><?php echo $custom; ?>},
'multi' : true
});
});
</script>
<script language="JavaScript" type="text/javascript" src="v/js/jquery.validate.js"></script>
<script>
$(document).ready(function(){
$("#myform").validate();
});
</script>
<style type="text/css">
.style1 {
font-weight: bold;
}
.style3 {font-size: 10px}
.even { background-color:#f2f2f2; }
.odd { background-color:#cccccc;
color:#000000 }
</style>
<h2 style="margin-top:0px" class="post-title" id="status"> <i class="icon-cloud-upload"></i> <span class='text-info'>
<?php if($sector=="Startags") { echo "Theme Background "; } elseif($sector=="addtoGallery") { echo "Upload to Gallery "; } else {?> <?php echo $_GET["sector"] ?><?php }?>
<?php if ($_GET["sector"] == "Profile") {?> Picture <?php } ?> <?php if(!empty($_GET["active"] )) { $resultX = $db->slugtoRecord($_GET["active"]); echo $catalognameX = $resultX[0]["catalogname"]; } ?></span></h2>
<?php /*?><div class="wizard clearfix m-b no-borders no" id="form-wizard">
<ul class="steps">
<li data-target="#step1" class="active"><span class="badge badge-info">1</span>Step 1</li>
<li data-target="#step2"><span class="badge bg-light">2</span>Step 2</li>
<li data-target="#step3"><span class="badge bg-light">3</span>Step 3</li>
</ul>
</div> <?php */?>
<table id="Table_01" width="100%" border="0" cellpadding="0" cellspacing="0" style="">
<tr>
<td valign="top" id="bgme" align="center"width="100%" height="482" >
<input id="x" value="0" type="hidden">
<form id="engineY">
<input type='hidden' id='action' value="<?php echo $urlaction ?>" />
<input type='hidden' id='meX' value="<?php echo $_SESSION['euserid']; ?>" />
<input type='hidden' id='youX' value="<?php echo $catalogidX; ?>" />
</form>
<span id="fire" > <center><?php if ($_GET["sector"] != "Profile") {?><img src="images/uploadcontent_08.png" style="margin-top:60px" /> <?php } ?>
<?php if ($_GET["sector"] == "Profile") {?><br />
<br />
<br />
<br />
<h3>Upload your Profile Picture Below </h3>
<br />
<br /><?php } ?>
</center></span>
<div id="done"></div>
<div id="fileQueue"></div><?php
require("v/channel/restreportercorporates.php");
?>
<span id="picit" ></span>
<br />
<br />
<?php /*?><a href="<?php echo $siteaddress; ?>indexAlone.php?mode=selfie" ><i class="icon-camera"></i>or use webcam</a>
<?php */?>
</td>
</tr>
</table>