コード例 #1
0
    function showNotifyForm($option, $sitemap_url)
    {
        ?>
	        <div style="position:absolute; left:450px; width:220px; float:left; clear:right;">
<fieldset style="padding: 10; width:200px; border-color:#000099; border-width:2px; border-style:solid; ">
            	<legend style="color:#000099;">Options</legend>
        		<ul><li><a href="http://www.w3.org/2001/03/webdata/xsv?docAddrs=<?php 
        echo urlencode($sitemap_url);
        ?>
&warnings=on&style=xsl" target="_blank">Validate my sitemap</a></li>
					<li><a href="<?php 
        echo $sitemap_url;
        ?>
" target="_blank">View my sitemap</a></li>
                    <li><a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes" target="_blank">List of HTTP status codes</a></li>
                    <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=patrick%40support%2dmasters%2ech&item_name=Pixelschieber%20%2d%20JCrawler&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=CH&bn=PP%2dDonationsBF&charset=UTF%2d8" target="_blank">Donate via PayPal</a></li>
                    <li><a href="http://www.google.com/support/webmasters/bin/topic.py?topic=8467" target="_blank">Official Sitemaps FAQ</a></li>
  </ul>
       	  </fieldset>
        </div>
	<div style="height:200px; width:300px; float:left;">
<form action="index.php" method="post" name="Jcrawler" enctype="multipart/form-data">
	<fieldset style="padding: 10; width:300px; border-color:#000099; border-width:2px; border-style:solid; ">
	<legend style="color:#000099;"><b>Submit sitemap to</b></legend>	
	<ul>
<li><input type="checkbox" name="url[]" checked="checked" value="http://www.google.com/webmasters/sitemaps/ping?sitemap=<?php 
        echo urlencode($sitemap_url);
        ?>
" /> Google</li>
<li><input type="checkbox" name="url[]" checked="checked" value="http://www.bing.com/webmaster/ping.aspx?siteMap=<?php 
        echo urlencode($sitemap_url);
        ?>
" /> Bing</li>
<li><input type="checkbox" name="url[]" checked="checked" value="http://submissions.ask.com/ping?sitemap=<?php 
        echo urlencode($sitemap_url);
        ?>
" /> Ask.com</li>
                                                
         <br /><input type="Submit" value="Submit" name="submit"></ul>	</fieldset>
	
		<input type="hidden" name="option" value="<?php 
        echo $option;
        ?>
" />
		<input type="hidden" name="task" value="notify" />
		<input type="hidden" name="hidemainmenu" value="0" />
		<!-- <input type="hidden" name="client" value="<?php 
        //echo $client;
        ?>
" /-->
		</form>
	</div>
    
 <?php 
        HTML_jcrawler::footer($option);
    }