index.php |
castor.php |
engines.php |
snoopy.class.php |
submit.php
···
back to urlator
<?php
/*
* URLator v1.1, http://turma.sourceforge.net/web/urlator
* part of Violence by Design project, http://turma.sourceforge.net
* Author: Mircea MITU <mirceamitu@users.sourceforget.net>
* Licence: GPL v2
* Copyright: 2001, Mircea MITU
* Date: October, 2001
*/
include "./snoopy.class.php";
include "./castor.php";
if(isset($sit) && $sit)
while ( list ($k, $v) = each ($sit) ){
// echo "$k: $v<br>\n";
$vector [$k] = "1";
}
else{
include "./index.php";
exit;
}
?>
<html>
<head>
<title>URL submitter: rezultate</title>
<link rel="stylesheet" type="text/css" href="./stil.css">
</head>
<body bgcolor=white>
<div style="border: thin solid black; background: #efefef; margin: 2%; padding: 2%;
background-image: url(fatig.gif); background-attachement: fixed; background-repeat: no-repeat; background-position: top right;">
<table width=90% border=0 cellpadding=0 cellspacing=3 align=center>
<tr>
<td>
<p><b>URLator</b> results:</p>
<?
$d["url"]= "http://turma.sourceforge.net/";
$d["email"] = "mirceamitu@users.sourceforge.net";
if(isset($adresa) && $adresa)
$d["url"]= $adresa;
if(isset($email) && $email)
$d["email"] = $email;
while ( list ($k, $v) = each ($vector) ){
// echo "$k: $v---<br>\n";
}
$d["submitto"] = $vector;
// $d["submitto"] = array("webcrawler"=>1, "excite"=>1, "google"=>1);
$castor= new Castor ;
$castor->debug=0;
$castor->processSubmit($d);
$rez = $castor->return;
if (isset($rez) && $rez)
while (list($e, $f) =each($rez)) {
if ($f["submitsuccess"]=="ok") {
echo "your site has been submitted sucessfully on <b>".$f["submitengine"]."</b><br>";
}
else {
echo "your site has not been submitted on <b>".$f["submitengine"]."</b><br>";
};
};
?>
<p>
<a href="./index.php">« Home </a>
</p>
</td>
</tr>
</table>
</div>
<p>
<center>
<a>URLator, part of </a><a href="http://turma.sourceforge.net">Violence by Design</a><a> project</a><br>
<a>© 2001 </a><a href="http://turma.sourceforge.net/contact/index.html">Mircea MITU </a>
</center>
</p>
</body>
</html>
index.php |
castor.php |
engines.php |
snoopy.class.php |
submit.php
···
back to urlator