예제 #1
0
<form action="<?php 
echo interface_url(array('page' => 'sitemgmt', 'action' => 'add_submit'));
?>
" method="post">
Name: <input name="name" size="60" /><br/>
Login url: <input name="login" value="http://www.---.org/login.php" size="60"  /><br/>
Login POST data: <input name="login_post" value="login=Log+in&username=__USER__&password=__PASS__" size="60"  /> (__PASS__ and __USER__ will be replaced by username and password from below) <br/>
Username: <input name="user" size="60" /> <br/>
Password: <input name="pass" size="60" /> <br/>
Title regexp: <input name="title_pattern" value="/<title>(\[.*?\])? ?(.*?)( ::.*?)?<\/title>/i" size="60" /> <br/>
Title index from regexp <input name="title_pattern_idx" value="2" size="60" /> <br/>
<input type="submit" />
</form>
예제 #2
0
Adding thread to site "<?php 
echo $site_name;
?>
"

<form action="<?php 
echo interface_url(array('page' => 'threadmgmt', 'action' => 'add_preview'));
?>
" method="post">
<input type="hidden" name="site_name" value="<?php 
echo $site_name;
?>
" />
Url: <input name="thread_url" />
<input type="submit" />
</form>
echo $thread_title;
?>
</i></h2>

From site <i><?php 
echo $site_name;
?>
</i>, url: <i><?php 
echo $thread_url;
?>
</i>

<p>When deleted, all previously crawled links from this thread will be forgotten. Thus they will be readded to JD if the thread is readded.</p>

<form action="<?php 
echo interface_url(array('page' => 'threadmgmt', 'action' => 'delete_submit'));
?>
" method="post">
<input type="hidden" name="site_name" value="<?php 
echo $site_name;
?>
" />
<input type="hidden" name="thread_url" value="<?php 
echo $thread_url;
?>
" />
<input type="hidden" name="thread_title" value="<?php 
echo $thread_title;
?>
" />
<input type="checkbox" name="leave_cache" value="yes" /> Don't forget crawled links from this thread<br/>