need help with script

Discussion in 'Programming' started by misoo83, Dec 28, 2008.

  1. #1
    Hi i need help i have this code can someone help me and make this work i tryed but cant make this work ( i am noob in php) :rolleyes:

    example :

    if i check S2 (example.com website) and i type xxx.com in url box when i click go that site (xxx.com) from url box opens thrue example.com website _blank

    image:

    [​IMG]


    i dont have "url.asp" so i dont know how to make that with my url like example :(


      <script type="text/JavaScript">
    function fastProxy(){
      iErr = 0;
      if(document.ser0.url.value == "" || document.ser0.url.value == "http://www."|| document.ser0.url.value == "http://"){
        alert('??????????!');
        document.ser0.url.focus();
        iErr = 1;
      }
      if(iErr == 0){
        tmp = 0;
        for(i=0; i<=10; i++){
          if(document.ser0.proxylist[i].checked){tmp = i;}
        }
        document.ser1.url.value=document.ser0.url.value;
        document.ser1.proxylist.value=tmp;
        document.ser1.submit();
        var vNum
        vNum = Math.random()
        vNum = Math.round(vNum*10)
        document.ser2.url.value=document.ser0.url.value;
        document.ser2.proxylist.value=vNum;
        document.ser2.submit();
        vNum = Math.random()
        vNum = Math.round(vNum*10)
        document.ser3.url.value=document.ser0.url.value;
        document.ser3.proxylist.value=vNum;
        document.ser3.submit();
      }
    }
    </script>
    <div>
    <form action="url.asp" method="post" target="_blank" name="ser0">
    <div id="form"><strong>URL/Web:</strong>
      <input type="text" name="url" id="input" value="http://www." class="url" />
    
      <input type="submit" value="Go" name="button" class="submit" />
      <input name="button2" type="button" class="submit2" value="????" onclick=fastProxy()>
      <br>
      <input name="proxylist" type="radio" value="0" checked="checked" id=s0/> 
    ??
    <input type="radio" name="proxylist" value="1" id='s1'/> 
    <label for=s1>S1</label>
    <input type="radio" name="proxylist" value="2" id='s2'/> 
    <label for=s2>S2</label>
    <input type="radio" name="proxylist" value="3" id='s3'/> 
    <label for=s3>S3</label>
    
    <input type="radio" name="proxylist" value="4" id='s4'/> 
    <label for=s4>S4</label>
    <input type="radio" name="proxylist" value="5" id='s5'/> 
    <label for=s5>S5</label>
    <input type="radio" name="proxylist" value="6" id='s6'/> 
    <label for=s6>S6</label>
    <input type="radio" name="proxylist" value="7" id='s7'/> 
    <label for=s7>S7</label>
    <input type="radio" name="proxylist" value="8" id='s8'/> 
    <label for=s8>S8</label>
    <input type="radio" name="proxylist" value="9" id='s9'/> 
    <label for=s9>S9</label>
    
    <input type="radio" name="proxylist" value="10" id='s10'/> 
    <label for=s10>S10</label>
    <a href="what_fast_proxy.htm" target="_blank" class="whatfastproxy">???????</a>
    <br>
    <script type="text/javascript"><!--
    google_ad_client = "pub-2889466054815034";
    /* Proxy_??_txt_728x15 */
    google_ad_slot = "0579234549";
    google_ad_width = 728;
    google_ad_height = 15;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    <script type="text/JavaScript">
    document.ser0.url.focus();
    document.ser0.url.value="http://www.";
    </script>
    Code (markup):

    thanks
     
    misoo83, Dec 28, 2008 IP