$7 Secrets Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]

Author Topic: Here is another Free Script  (Read 1123 times)

Blue Raven

  • Apprentice
  • **
  • Posts: 12
    • View Profile
Here is another Free Script
« on: October 03, 2009, 10:46:13 PM »

I was making a free wizard that would make a dynamic tweet this link for an affiliate tools page.

The wizard will also create a sample tools page but in the mean time I thought I would give anyone interested something to play with.

I will have a couple of buttons on the createed page and have been very lazy with this code. It is tested and works.

Save this code as affiliatetools.php and upload to your product folder to get an idea how it works.
Code: [Select]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml">

<script type="text/javascript">
var slink = "http://<?global $sys_domain; echo $sys_domain ?><?global $sys_script_folder; echo $sys_script_folder ?>";
function cemail(){
semail.document.write("Hello there \<br /\>\<br /\>"+slink+"?e="+document.frm.saff.value+"\<br /\>\<br /\> some more content.");
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <?global $sys_item_name; echo $sys_item_name ?>  Affiliate Tools
    <div style="padding: 5px;font-family: courier new,courier,monospace; font-size: 14pt; width: 700px; background-color: white; margin-left: auto; margin-right: auto; color: black; text-align: left;padding:20px; border: 1px solid #0000cc;">
    I have created some tools for you etc...<br /><br />
  <u>Step</u> <u>1</u> Enter Your Primary PayPal Address.<br />
<form name="frm" id="frm">
  <input type="text"size="30" maxlength="30" style="font-family: courier new,courier,monospace; font-size: 14pt;" name="saff" id="saff" onchange="javascript:cemail();" /><br /><br />
<center>Use the tools and receive $<?global $sys_item_cost; echo $sys_item_cost ?> for <?global $sys_item_percent; echo $sys_item_percent ?>% of your sales.<br />
<u>Step</u> <u>2</u> Click in this box to see sample Link.<br />
<iframe style="width:600px; height:400px;" name="semail" id="semail"></iframe></center>

You might be wondering how to convert your html to javascript for your tools. No Problems.


Have a Great Day!
Larry Keenan
A 70 Year Old Cartoon I use as A Silly Squeez
Pages: [1]