pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

barry private pastebin - collaborative debugging tool What's a private pastebin?


Posted by Anonymous on Sun 6 Apr 23:34
report abuse | View followups from Anonymous | download | new post

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" style="margin:0px">
  4. <title>Geograph</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  6. <link rel="stylesheet" type="text/css" title="Monitor" href="/templates/basic/css/basic.css" media="screen" />
  7. <link rel="stylesheet" type="text/css" title="Monitor" href="/templates/basic/css/mapper.css" media="screen" />
  8. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
  9. <script type="text/javascript" src="/geograph.js"></script>
  10. </head>
  11.  
  12. <body bgcolor="#ffffff" style="background-color:white;margin:0px"> <style type="text/css">
  13. #theForm {
  14.         background-color:#f0f0f0;padding:5px;margin-top:0px; border:1px solid #d0d0d0;
  15. }
  16. .scrollbox {
  17.         overflow:auto;
  18.         height:200px;
  19.         width:100%;
  20.         border: 1px solid red;
  21. }
  22. .photobox {
  23.         float:left;
  24.         height:180px;
  25.         width:180px;
  26.         border:1px solid green;
  27.         margin:5px;
  28.         margin-right:0px;
  29.         text-align:center;
  30.         background-color:lightgrey;
  31. }
  32. .photobox_selected {
  33.         float:left;
  34.         height:180px;
  35.         width:180px;
  36.         border:1px solid green;
  37.         margin:5px;
  38.         margin-right:0px;
  39.         text-align:center;
  40.         background-color:yellow;
  41. }
  42. .photobox input,.photobox_selected input,.photobox textarea,.photobox_selected textarea {
  43.         font-size:0.5em;
  44.         border:0px;
  45.         background-color:white;
  46.         padding:0px;
  47.         margin:0px;
  48.         overflow: none;
  49.         scrollbars: none;
  50. }
  51. .photobox .nowrap,.photobox_selected .nowrap {
  52.         font-size:0.4em;
  53. }
  54. .termsbox {
  55.         position:relative;
  56.         overflow:auto;
  57.         height:400px;
  58.         width:100%;
  59. }
  60.  
  61. </style>
  62. <script type="text/javascript">
  63. function selectPhoto(name) {
  64.         var ele = document.forms['theForm'].elements['selected'];
  65.         if (ele.value != '') {
  66.                 document.getElementById("photo:"+ele.value).className="photobox";
  67.         }
  68.         ele.value = name;
  69.         document.getElementById("photo:"+name).className="photobox_selected";
  70.         document.getElementById('subIframe').src = "about:blank";
  71.         tabClick('tab','',-1,4);
  72. }
  73.  
  74.   function startUp() {
  75.         selectPhoto(document.forms['theForm'].elements['selected'].value);
  76.   }
  77.   AttachEvent(window,'load',startUp,false);
  78.  
  79. function submitTabClick(tabname,divname,num,count) {
  80.         var theForm = document.forms['theForm'];
  81.         var name = document.forms['theForm'].elements['selected'].value;
  82.         if (num == 2) {
  83.                 document.getElementById('subIframe').src = '/submitmap.php?inner&picasa';
  84.         } else {
  85.                 url = '/puploader.php?inner';
  86.                
  87.                 if (theForm.elements['grid_reference['+name+']'] && theForm.elements['grid_reference['+name+']'].value != '') {
  88.                         url = url + "&grid_reference="+escape(theForm.elements['grid_reference['+name+']'].value);
  89.                 }
  90.                 if (theForm.elements['photographer_gridref['+name+']'] && theForm.elements['photographer_gridref['+name+']'].value != '') {
  91.                         url = url + "&photographer_gridref="+escape(theForm.elements['photographer_gridref['+name+']'].value);
  92.                 }
  93.                 if (num > 2) {
  94.                         url = url + "&step="+(num-1);
  95.                 } else {
  96.                         url = url + "&step="+(num);
  97.                 }
  98.                
  99.                 document.getElementById('subIframe').src = url;
  100.         }  
  101.         tabClick(tabname,divname,num,count);
  102. }
  103.  
  104. </script>
  105.  
  106. <TABLE cellSpacing=0 cellPadding=4 width="100%" style="background-color:#000066; font-family:Georgia">
  107.   <TR>
  108.     <TD>&nbsp;</TD>
  109.     <TD><A href="http://geograph.mobile/"><IMG height=74 src="http://geograph.mobile/templates/basic/img/logo.gif" width=257 border=0></A></TD>
  110.     <TD vAlign=top align=center><A href="http://geograph.mobile/"><font color=#ffffff size=+2>geograph.mobile</FONT></A><BR>
  111.        <FONT face=Georgia color=#ffffff><I>The Geograph British Isles project aims to collect a geographically representative<BR> photograph for every square kilometre of the British Isles and you can be part of it.</I></FONT></TD>
  112.     <TD>&nbsp;</TD></TR></TBODY>
  113. </TABLE>  
  114.  
  115.  
  116. <div style="padding:10px">
  117.         <form enctype="multipart/form-data" action="/puploader.php" method="post" name="theForm" id="theForm" onsubmit="if (this.imageclass) this.imageclass.disabled=false;">
  118.                
  119.                 <div style="float:right">Logged in as Barry Hunter / <a href="/logout.php">Logout</a></div>
  120.  
  121.                 <h2>Picasa --&gt; Geograph Uploader v0.3</h2>
  122.  
  123.                 <div class="scrollbox">
  124.                                                                         <div class="photobox" id="photo:http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg" onclick="selectPhoto('http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg');">
  125.                                 <tt>IMG_3227.JPG</tt>
  126.                                 <div style="width:100px; height:100px;">
  127.                                         <img src="http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg?size=100"/>
  128.                                 </div>
  129.                                 <input type="hidden" name="http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg?size=640"/>
  130.                                 <span class="nowrap">Su:<input type="text" name="grid_reference[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="12" maxlength="12"/></span>  
  131.                                 <span class="nowrap">Ph:<input type="text" name="photographer_gridref[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="12" maxlength="12"/></span>  
  132.                                 <span class="nowrap">6f:<input type="text" name="use6fig[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="1" maxlength="2"/></span>
  133.                                 <span class="nowrap">Dir:<input type="text" name="view_direction[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="3" maxlength="4"/></span>
  134.                                 <span class="nowrap">Ti:<input type="text" name="title[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="20" maxlength="255"/></span>  
  135.                                 <span class="nowrap">De:<textarea name="comment[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" cols="30" rows="2" wrap="soft"></textarea></span>  
  136.                                 <span class="nowrap">Cl:<input type="text" name="imageclass[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="12" maxlength="64"/> <input type="text" name="imageclassother[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="12" maxlength="64"/></span>  
  137.                                
  138.                                 <span class="nowrap">Da:<input type="text" name="imagetaken[http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg]" value="" size="10" maxlength="10"/></span>  
  139.                                
  140.                                
  141.                         </div>
  142.                
  143.                 </div>
  144.                 <input type="hidden" name="selected" value="http://localhost:4863/9c61fa9670791cc687d30358f7248bad/thumb8773.jpg"/>
  145.                 <div class="tabHolder">
  146.                         <a class="tab nowrap" id="tab1" onclick="submitTabClick('tab','',1,4)">Enter Grid Reference</a>
  147.                         <a class="tab nowrap" id="tab2" onclick="submitTabClick('tab','',2,4)">Draggable Map</a>
  148.                         <a class="tab nowrap" id="tab3" onclick="submitTabClick('tab','',3,4)">Map References</a>
  149.                         <a class="tab nowrap" id="tab4" onclick="submitTabClick('tab','',4,4)">Title/Description</a>
  150.                 </div>
  151.                 <iframe id="subIframe" name="subIframe" src="about:blank" width="100%" height="350"></iframe>
  152.  
  153.  
  154.                 <div class="termsbox">
  155.  
  156.                         <h2>Confirm image rights</h2>
  157.  
  158.                         <p>
  159.                         Because we are an open project we want to ensure our content is licensed
  160.                         as openly as possible and so we ask that all images are released under a <span class="nowrap"><a title="Learn more about Creative Commons" href="http://creativecommons.org" target="_blank">Creative Commons</a><img style="padding-left:2px;" alt="External link" title="External link - opens in a new window" src="http://s0.geograph.mobile/img/external.png" width="10" height="10"/></span>
  161.                         licence, including accompanying metadata.</p>
  162.  
  163.                         <p>With a Creative Commons licence, the photographer <b>keeps the copyright</b> but allows
  164.                         people to copy and distribute the work provided they <b>give credit</b>.</p>
  165.  
  166.                         <p>Since we want to ensure we can use your work to fund the running costs of
  167.                         this site, and allow us to create montages of grid images, we ask that you
  168.                         allow the following</p>
  169.  
  170.                         <ul>
  171.                         <li>The right to use the work commercially</li>
  172.                         <li>The right to modify the work to create derivative works</li>
  173.                         </ul>
  174.  
  175.                         <p><span class="nowrap"><a title="View licence" href="http://creativecommons.org/licenses/by-sa/2.0/" target="_blank">Here is the Commons Deed outlining the licence terms</a><img style="padding-left:2px;" alt="External link" title="External link - opens in a new window" src="http://s0.geograph.mobile/img/external.png" width="10" height="10"/></span></p>
  176.  
  177.                                                                                 <div class="interestBox">
  178.         <p>As part of the licence it's important that the '<i>Original Author</i>' or Photographer is correctly attributed, use this section to apply the appropriate credit to the photographer.</p>
  179.        
  180.         <dl>
  181.                 <dt id="dt_self"><input type="radio" name="pattrib" value="self" id="pattrib_self"  onclick="updateAttribDivs()"/><label for="pattrib_self">I am the photographer</label></dt>
  182.                 <dd id="dd_self" style="border:1px solid gray; padding:5px;display:none">Use this option when you as the '<i>Geograph Account Holder</i>', also took the photo.</dd>
  183.                 <div style="padding:10px"><i>- or -</i></div>
  184.                 <dt id="dt_other"><input type="radio" name="pattrib" value="other" id="pattrib_other" onclick="updateAttribDivs()" checked="checked"/><label for="pattrib_other">I am not the photographer, and need to apply the appropriate credit for this image</label></dt>
  185.                 <dd id="dd_other" style="border:1px solid gray; padding:5px">By selecting the above option you certify that you as the '<i>Geograph Account Holder</i>',<br/> act as an authorised '<i>Licensor</i>' (<a href="/help/what_is_a_licensor" target="_blank">What does this mean</a>?) for the photographer named below:
  186.                 <br/><br/>
  187.                 Photographer Name: <input type="text" name="pattrib_name" value="Barry&#039;s Sock" size="40"/>
  188.                 <br/><br/>
  189.                 Note: It's vitally important to be sure you are a valid '<i>Licensor</i>' on behalf of the '<i>Original Author</i>' mentioned here.
  190.                 <br/><br/>
  191.                 This option should <b>not</b> be used to republish the work of others already published under a Creative Commons Licence, either elsewhere or on Geograph, such content is not approriate for Geograph.
  192.                 </dd>
  193.         </dl>
  194.         <div style="text-align:right"><input type="checkbox" name="pattrib_default" value="on" id="pattrib_default" />Make this my new default from now on</div>
  195.        
  196.        
  197.                 <script type="text/javascript">
  198.                         function $(id) {
  199.                                 return document.getElementById(id);
  200.                         }
  201.                
  202.                         function updateAttribDivs() {
  203.                                 isself = document.theForm.pattrib[0].checked;
  204.                                
  205.                                 $('dt_self').style.fontWeight = isself?'bold':'';
  206.                                 $('dd_self').style.display = isself?'':'none';
  207.                                 $('dt_other').style.fontWeight = isself?'':'bold';
  208.                                 $('dd_other').style.display = isself?'none':'';
  209.                         }
  210.                         AttachEvent(window,'load',updateAttribDivs,false);
  211.                 </script>
  212.        
  213.        
  214.         </div>
  215.                         <p>If you agree with these terms, click "I agree" and your images submitted to Geograph.<br />
  216.                         <input type="button" value="Close Window" onclick="location.href='minibrowser:close'"/>
  217.                         <input style="background-color:lightgreen; width:200px" type="submit" name="finalise" value="I AGREE &gt;" onclick="autoDisable(this);"/>
  218.                         </p>
  219.                 </div>
  220.  
  221.         </form>
  222. </div>
  223.  
  224. </body>
  225. </html>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me