Main
Admin
if ($gosearch) {
if (!$keyword) die("Error
You must enter at least one keyword to search for");
else {
$kws = preg_split("/\s+/", $keyword);
while (list(,$kw) = each($kws)) {
if ($kw) {
if (!$sqlsrch) $sqlsrch = "where ";
else $sqlsrch .= " and ";
$sqlsrch .= "(title like '%$kw%' or description like '%$kw%')";
}
}
if ($status != "all") {
$sqlstat = " and (";
if ($status == "premium") $sqlstat .= "premium = 'yes'";
elseif ($status == "1") $sqlstat .= "(status = '1' or status = '2')";
else $sqlstat .= "status = '$status'";
$sqlstat .= ")";
}
else $sqlstat = "";
$res = mysql_query("select * from lma_links $sqlsrch $sqlstat and confirmed = 'yes' order by $sortby limit $start, $ppage") or die(mysql_error());
}
}
else if ($urlinvalidid) {
$res = mysql_query("select * from lma_links where id = $urlinvalidid") or die(mysql_error());
}
else {
if ($category != "all") {
$sqlcat = "and category = '$category'";
$sqlstat = "and ";
}
else $sqlstat = "and ";
if ($status != "all") {
if ($status == "premium") $sqlstat .= "premium = 'yes'";
elseif ($status == "1") $sqlstat .= "(status = '1' or status = '2')";
else $sqlstat .= "status = '$status'";
}
else {
$sqlstat = "";
}
$res = mysql_query("select * from lma_links where id = id $sqlcat $sqlstat and confirmed = 'yes' order by $sortby limit $start, $ppage") or die(mysql_error());
}
if (mysql_num_rows($res) < 1) {
?>
The link has been deleted.
There are no more links in this category.
}
else {
?>
echo $footr;
}
elseif ($action == "addlink") {
if (!$title or !$url) message("Error", "You must enter both a title and a valid URL to add a new link.");
if (!$category or $category == "0") message("Error", "Links cannot be added to the Top category");
else {
$status = "1";
if ($bypass != "yes") {
$formhtml = '
';
if ($recipurl) {
$page = @file($recipurl);
if (!$page) message("Warning", "Could not check reciprocal link because the URL is not available at this time.
Please make sure that the URL is valid. If you'd still like to add the link, please click the button below
$formhtml
");
else {
$pagehtml = implode("", $page);
if (!ereg($reciplinkurl, $pagehtml)) message("Warning", "Could not find the reciprocal link at the specified URL.
If you'd still like to add the link, please click the button below.
$formhtml
");
}
}
else $status = "2";
}
else $status = "2";
if ($premium != "yes") $premium = "no";
$pol = mysql_query("insert into lma_links values(NULL, '$category', '$status', 'yes', '$premium', '$title', '$description', '$url', '$fname', '$lname', '$emailaddy', '$recipurl', '$ctime', '0')") or message("Error", mysql_error());
if ($sendemail == "yes") {
$base = str_replace("admin.php", "", $_SERVER['SCRIPT_NAME']). $basedir;
$listinfo = "
Title: ".$title."
URL: ".$url."
Description: ".$description."
First Name: ".$fname."
Last Name: ".$lname."
Email: ".$emailaddy."
Reciprocal: ".$recipurl;
$goo = 1;
$lacat = $category;
$pol = mysql_fetch_object(mysql_query("select * from lma_categories where id = '$lacat'"));
$caturl = "/". getindex($pol->name) . ".$pext";
while ($goo == 1 and $x < 100) {
$x++;
$pol = mysql_fetch_object(mysql_query("select * from lma_categories where id = '$lacat'"));
$caturl = "/".str_replace(" ", "_", $pol->name).$caturl;
$lacat = $pol->parent;
if ($pol->parent == "0") $goo = 0;
}
$directoryurl = "http://".$_SERVER['SERVER_NAME']. $base."/";
$categoryurl = "http://".$_SERVER["SERVER_NAME"].$base.$caturl;
$addedtpls = mysql_fetch_object(mysql_query("select subject, body from lma_emails where id = 'approved'"));
$subject = $addedtpls->subject;
$subject = str_replace("{FIRSTNAME}", stripslashes($fname), $subject);
$subject = str_replace("{LASTNAME}", stripslashes($lname), $subject);
$subject = str_replace("{DIRECTORY-LINK}", $directoryurl, $subject);
$subject = str_replace("{CATEGORY-LINK}", $categoryurl, $subject);
$body = $addedtpls->body;
$body = str_replace("{FIRSTNAME}", stripslashes($fname), $body);
$body = str_replace("{LASTNAME}", stripslashes($lname), $body);
$body = str_replace("{DIRECTORY-LINK}", $directoryurl, $body);
$body = str_replace("{CATEGORY-LINK}", $categoryurl, $body);
$body = str_replace("{LISTING-DETAILS}", $listinfo, $body);
maill($emailaddy, $subject, $body, "From: $fromname <$adminemail>");
}
dolcount();
message("Congratulations", "The link was successfully added.");
}
}
elseif ($action == "import") {
?>
}
elseif ($action == "importfind") {
if (!file_exists($filename)) message("Error", "The file $filename doesn't exist in this directory");
else {
$db = file($filename);
for ($i=0; $i<3; $i++) {
$line = str_replace(" ", "", trim($db[$i]));
preg_match_all("/(\W)+/", $line, $res);
if ($res) {
while(list(,$del) = each($res[0])) {
$dels[$del]++;
}
}
}
arsort($dels);
$delim = key($dels);
$thtml = 'Link Management Assistant has found the following character or string to be the delimiter for the database.
If this is not correct please change it to the appropriate delimiter. Click "OK" to continue.
';
message("Please confirm", $thtml);
}
}
elseif ($action == "importselect") {
$db = file($filename);
$first = array_shift($db);
$delimiter = stripslashes($delimiter);
$parts = explode($delimiter, $first);
echo $headr;
?>
echo $footr;
}
elseif ($action == "importgo") {
$db = file($filename);
$delimiter = stripslashes($delimiter);
while (list(,$line) = each($db)) {
$line = trim($line);
$parts = explode($delimiter, $line);
$ntitle = mysql_escape_string($parts[$title]);
$nurl = mysql_escape_string($parts[$url]);
$ndesc = mysql_escape_string($parts[$description]);
$nfname = mysql_escape_string($parts[$fname]);
$nlname = mysql_escape_string($parts[$lname]);
$nemail = mysql_escape_string($parts[$email]);
$nrecipurl = mysql_escape_string($parts[$recipurl]);
if ($status == "1" and $recipurl == "1000") $status = "2";
$pol = mysql_query("insert into lma_links values(NULL, '$category', '$status', 'yes', '$premium', '$ntitle', '$ndesc', '$nurl', '$nfname', '$nlname', '$nemail', '$nrecipurl', '$ctime', '0')") or message("Error", mysql_error());
}
dolcount();
message("Congratulations", "The links were successfully imported from the database");
}
elseif ($action == "custominc") {
$pol = mysql_query("CREATE TABLE if not exists `lma_custom_includes` (
`id` tinyint(3) unsigned NOT NULL auto_increment,
`desc` text NOT NULL,
`html` text NOT NULL,
PRIMARY KEY (`id`)
)") or die(mysql_error());
?>
Main
Admin
Create & Manage
Custom Includes
Use this section to create new and manage existing
custom includes. The Link Management Assistant allows you to create as many custom includes as
you would like. It allows you to integrate any HTML content you wish to display into all pages
in your directory, wherever the respective includes are used in your directory templates. When
editing existing includes, the changes you make will be updated in real-time on the front end of
your directory.
Create New Include
Existing Includes
$res = mysql_query("select * from lma_custom_includes");
while ($inc = mysql_fetch_object($res)) {
?>
<%custom-include-id?>%>
desc?>
Edit
| Delete
}
?>
}
elseif ($action == "newcustominc") {
$pol = mysql_query("insert into lma_custom_includes values(NULL, '".$desc."', '".$html."')") or die(mysql_error());
message ("Congratulations!", "You have successfully created a new custom include.");
}
elseif ($action == "delinc") {
$pol = mysql_query("delete from lma_custom_includes where id = '$inc'") or die(mysql_error());
message ("Congratulations!", "You have successfully deleted the custom include.");
}
elseif ($action == "editinc") {
$pol = mysql_fetch_object(mysql_query("select * from lma_custom_includes where id = '$inc'")) or die(mysql_error());
?>
Main
Admin
Create & Manage
Custom Includes
Editing Custom Include #
}
elseif ($action == "saveinc") {
$pol = mysql_query("update `lma_custom_includes` SET `desc` = '".$desc."', `html` = '".$html."' where `id` = '$id'") or die(mysql_error());
message("Congratulations!", "The custom include was successfully edited.");
}
elseif ($action == "ppcinc") {
$pol = mysql_query("CREATE TABLE if not exists `lma_ppc_includes` (
`id` smallint(5) unsigned NOT NULL auto_increment,
`desc` text NOT NULL,
`results` tinyint(3) unsigned NOT NULL default '0',
`keywords` text NOT NULL,
PRIMARY KEY (`id`)
)") or die(mysql_error());
?>
Main
Admin
Create &
Manage Pay-Per-Click Includes
Sign
Up With Search Feed Here
The Link Management Assistant now
allows you to incorporate Search Feed affiliated search results throughout
your website directory and earn commission for each click through. For example
you may like to create a PPC include and place that include above standard
listings in your category templates to earn additional revenue from your
website directory. You can also replicate a similar approach in your search
result template. You can create as many of these as you like and the includes
can be used in all templates.
Search Feed
Account Settings
Existing
PPC Includes
$res = mysql_query("select * from lma_ppc_includes");
while ($inc = mysql_fetch_object($res)) {
?>
<%ppc-include-id?>%>
desc?>
Edit
| Delete
}
?>
}
elseif ($action == "saveppcsettings") {
savesettings();
message("Congratulations!","Your Pay-per-click settings were successfully saved.");
}
elseif ($action == "newppcinc") {
$pol = mysql_query("insert into lma_ppc_includes values(NULL, '".addslashes($desc)."', '".addslashes($results)."', '".addslashes($keywords)."')") or die(mysql_error());
message ("Congratulations!", "You have successfully created a new PPC include.");
}
elseif ($action == "editppcinc") {
$pol = mysql_fetch_object(mysql_query("select * from lma_ppc_includes where id = '$inc'")) or die(mysql_error());
?>
Main
Admin
Edit Include
To edit this include, simply
make the respective changes in the fields below and click the save button.
The site content created via this particular include will be updated in
real time...
Edit Include
}
elseif ($action == "saveppcinc") {
$pol = mysql_query("update `lma_ppc_includes` SET `results` = '".$results."', `desc` = '".addslashes($desc)."', `keywords` = '".addslashes($keywords)."' where `id` = '$inc'") or die(mysql_error());
message("Congratulations!", "The PPC include was successfully edited.");
}
elseif ($action == "delppcinc") {
$pol = mysql_query("delete from lma_ppc_includes where id = '$inc'") or die(mysql_error());
message ("Congratulations!", "You have successfully deleted the PPC include.");
}
elseif ($action == "additionalinc") {
$arsto = mysql_query("select content from lma_custom where id = 'addrandsearchterms'"); if (mysql_num_rows($arsto) > 0) $addrandsearchterms = array_shift(mysql_fetch_row($arsto));
?>
Main
Admin
Additional
"Enhancement" Includes
The section of the Link Management Assistant
contains various additional includes which you can manipulate and
include in your templates to dramatically enhance your website
directory.
Random
Listings <%random-listings%>
This include can be used to
populate random listings from your database into your website
directory pages. Where used in the templates, a new random
listing/s will be pulled from the database and will be
displayed each time it's accessed by a website visitor or
search engine robot. This will give the appearance that each
page on your directory is updated regularly and encourage the
search engine spiders to visit more often. It's also a great
way to give each page in your directory even more distinctly
unique content. You might like to call this area
"featured listings" or "sites of the
moment" etc.
Random
Categories
<%random-categories%>
This include can be used to
populate random category links / locations into your
directory pages. This is useful to increase cross linking
between categories encouraging visitors to visit more areas of
your directory, and the search engine robots to crawl deeper
into your directory structure. You could call these
"related categories" or "popular
categories" etc. You also have the option to display this
include vertically (categories displayed one after the other vertically)
or horizontally across the page giving you flexibility to incorporate
it into your templates in the most appropriate manner.
Random
"Recent" Search Terms <%random-search-terms%>
This include can be used to
populate links to a predefined set of search terms. Those
search terms will then link directly to the respective page of
search results, the same as would be seen by a user if they
actually conducted a physical search using the search feature.
It will also vary their display randomly on a page by page
basis. That is you might like to create an area called
"recent search terms" or "popular search
terms" in your directory templates. Although not
available yet, in the near future this feature will be
expanded to allow you to display the actual search terms
directory users are searching on.
}
elseif ($action == "saveadditionalinc") {
if (!$HTTP_POST_VARS["addrandlistprem"]) $HTTP_POST_VARS["addrandlistprem"] = "";
savesettings();
$arsto = mysql_query("select content from lma_custom where id = 'addrandsearchterms'");
if (mysql_num_rows($arsto) > 0)
// update
$pol = mysql_query("update lma_custom set content = '$addrandsearchterms' where id = 'addrandsearchterms'");
else
// insert
$pol = mysql_query("insert into lma_custom values ('addrandsearchterms', '$addrandsearchterms')");
message("Congratulations!","Your additional includes settings were successfully saved.");
}
elseif ($action == "urlvalidation") {
?>
Main
Admin
URL
Validation
This section
allows you to automatically clean your directory listings
& remove any dead
links. These are the listings where the domain name no
longer exists or returns other "cannot be found" errors.
It's a nice way to ensure listings within your directory actually
point to active websites without having to physically check each
one. This feature was primarily incorporated to help you clean DMOZ
imports. The normal automated reciprocal link checking features will
basically do the same job if you're using the Link Management
Assistant exclusively for managing reciprocal link partners.
URL
Validation
$arsto = mysql_query("select content from lma_custom where id = 'urlvalidationid'");
if (mysql_num_rows($arsto) > 0) {
list($ctype, $urlvalidationid) = split("-", array_shift(mysql_fetch_row($arsto)));
if($ctype == "G") {
$actionURL = "?action=urlvalidationrestart&ctype=G&user=$user&pass=$pass&startid=$urlvalidationid";
$actionText = "checking";
}
else {
$actionURL = "?action=urlvalidationrestart&ctype=R&user=$user&pass=$pass";
$actionText = "rechecking";
}
?>
The URL Validation routine is currently URL Id .
If this number does not change after 10 minutes then it is possible that the URL Validation routine has stalled, in which case you have the following two options
Check Here To restart the routine from URL Id
Check Here To cancel the URL Validation process
}
?>
NOTE: The above
process can take quite some time depending on the number of
listings you have in your directory, the checking schedule
& number of attempts you chose to make. As such, please be patient. A
notification email will be sent to your administrators email
address when the process has been completed. It is also HIGHLY
RECOMMEND that you do not use the importing features whilst the
URL validation process is underway, otherwise it will create a
very heavy load your server.
if (file_exists("deadurllist.txt")) {
$invalidurls = file("deadurllist.txt");
?>
Dead Link Listing Report
The Link Management Assistant has determined
that there are echo count($invalidurls) ?>
dead links in the directory.
To permanently delete them all
now you simply need to click the "Remove Dead
Listings" submit button at the bottom of the page.
Alternatively you can work your way down the list and view
each record to double check. If found to be active for
whatever reason, you can check the ignore button to retain the
listing. If you find the site is down for some other reason
(it has changed domain name and is not using a 30X redirect)
clicking the edit listing link will take you directly to the listings
complete record (in a new window) enabling you to edit it as
necessary. If you do edit a listing be sure
to also check the respective ignore box, otherwise it WILL be
deleted when you submit the "Remove Dead Listings"
button.
}
?>
}
elseif ($action == "removedeadurls") {
while (list($id,$inf) = each($urls)) {
if($inf['ignore'] != "yes")
$puls = mysql_query("delete from lma_links where id = '$id'");
}
if(file_exists("urlvalidation.txt")) unlink("urlvalidation.txt");
if(file_exists("deadurllist.txt")) unlink("deadurllist.txt");
message("URL Validation", "The Link Management Assistant has removed the selected dead listings..");
}
elseif ($action == "dourlvalidation") {
savesettings();
$arsto = mysql_query("select content from lma_custom where id = 'urlvalidationid'");
if (mysql_num_rows($arsto) > 0)
// update
$pol = mysql_query("update lma_custom set content = 'G-0' where id = 'urlvalidationid'");
else
// insert
$pol = mysql_query("insert into lma_custom values ('urlvalidationid', 'G-0')");
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?action=urlvalidationgo&user=$user&pass=$pass HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
message("URL Validation in progress...", "The Link Management Assistant has just started validating the links. This operation will take a while and you'll receive an e-mail notification when it's finished..");
}
elseif ($action == "urlvalidationgo") {
ignore_user_abort(1);
if(file_exists("deadurllist.txt")) unlink("deadurllist.txt");
if ($startid == "") $startid = "0";
$pol = mysql_query("select * from lma_links where id > $startid order by id");
if (mysql_num_rows($pol) > 0) {
if ($startid == 0)
$fp = fopen("urlvalidation.txt", "w");
else
$fp = fopen("urlvalidation.txt", "a");
$ui =0;
while ($urlLink = mysql_fetch_object($pol)) {
if($ui++ > 10)
break;
$startid = $urlLink->id;
$urlfp = fopen($urlLink->url, "r");
if (!$urlfp)
fputs($fp, $urlLink->id."|".$urlLink->url."|1\n");
else
fclose($urlfp);
}
@fclose($fp);
if ($ui > 10) {
$pol = mysql_query("update lma_custom set content = 'G-$startid' where id = 'urlvalidationid'");
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?action=urlvalidationgo&user=$user&pass=$pass&startid=$startid HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
}
else { // Start the recheck process
$pol = mysql_query("update lma_custom set content = 'R-0' where id = 'urlvalidationid'");
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?action=urlvalidationrecheck&user=$user&pass=$pass HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
}
}
else { // Start the recheck process
$pol = mysql_query("update lma_custom set content = 'R-0' where id = 'urlvalidationid'");
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?action=urlvalidationrecheck&user=$user&pass=$pass HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
}
message("URL Validation in progress...", "LMA is now restarting the unfinished URL Validation. You will receive an e-mail when this process is complete");
}
elseif ($action == "urlvalidationrecheck") {
ignore_user_abort(1);
$invalidurls = @file("urlvalidation.txt");
$ui = 0;
$fi = 0;
$di = 0;
if($invalidurls) {
while (list(,$ct) = each($invalidurls)) {
if($ui <= 10) {
list($urlid,$url,$attempt) = split("\|", $ct);
$pol = mysql_query("update lma_custom set content = 'R-$urlid' where id = 'urlvalidationid'");
if($attempt >= $urllcheckatt) {
if($urllcheckact == 1) {
$deadurls[$di++] = $urlid."|".$url;
}
else {
$puls = mysql_query("delete from lma_links where id = '$urlid'");
}
}
else {
$ui++;
$urlfp = fopen($url, "r");
if (!$urlfp) {
$failedurls[$fi++] = $urlid."|".$url."|".($attempt+1);
}
else
fclose($urlfp);
}
}
else {
$newmc .= $ct;
}
}
}
if ($newmc || count($failedurls) > 0) {
$fp = fopen("urlvalidation.txt", "w");
if($newmc) {
fputs($fp, $newmc);
}
for($i = 0; $i < count($failedurls); $i++) {
fputs($fp, $failedurls[$i]."\n");
}
fclose($fp);
if(count($deadurls) > 0) {
$fp = fopen("deadurllist.txt", "a");
for($i = 0; $i < count($deadurls); $i++) {
fputs($fp, $deadurls[$i]."\n");
}
fclose($fp);
}
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?user=$user&pass=$pass&action=urlvalidationrecheck HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
}
else {
if(file_exists("urlvalidation.txt")) unlink("urlvalidation.txt");
if(count($deadurls) > 0) {
$fp = fopen("deadurllist.txt", "a");
for($i = 0; $i < count($deadurls); $i++) {
fputs($fp, $deadurls[$i]."\n");
}
fclose($fp);
}
$emtpl = mysql_fetch_object(mysql_query("select subject, body from lma_emails where id = 'urlvalidation'"));
$subject = $emtpl->subject;
$body = $emtpl->body;
$adminurl = "http://".$_SERVER["SERVER_NAME"].$_SERVER["SCRIPT_NAME"];
$body = str_replace("{ADMIN-LINK}", $adminurl, $body);
mail($adminemail, $subject, $body, "From: $fromname <$adminemail>");
$pol = mysql_query("delete from lma_custom where id = 'urlvalidationid'");
}
}
elseif ($action == "urlvalidationrestart") {
if($ctype == "G") {
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?action=urlvalidationgo&user=$user&pass=$pass&startid=$startid HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
}
else {
$fp = fsockopen($_SERVER['SERVER_NAME'], 80);
fputs($fp, "GET ".$_SERVER['SCRIPT_NAME']."?user=$user&pass=$pass&action=urlvalidationrecheck HTTP/1.1\r\nAccept: */*\r\nAccept-Language: es-mx\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)\r\nHost: ".$_SERVER['SERVER_NAME']."\r\nConnection: Close\r\n\r\n");
fclose($fp);
}
message("URL Validation in progress...", "LMA is now restarting the unfinished URL Validation. You will receive an e-mail when this process is complete");
}
elseif ($action == "urlvalidationcancel") {
$pol = mysql_query("delete from lma_custom where id = 'urlvalidationid'");
message("URL Validation Cancelled...", "LMA has cancelled the URL Validation process.");
}
elseif ($action == "templates") {
?>
Main
Admin
Customize
Directory Templates
The Link Management
Assistant contains a complete set of customizable templates allowing
you to seamlessly integrate your niche website directory of link
partners into your website. However, the default templates that
accompany this script are very rudimentary and are really only
included as examples as to what you can do (or your website
designer) with your directory design and layout. If you're not familiar
with editing HTML templates please refer to the user manual for more
information and/or visit the support forums for guidance from other
users.
Template Includes
Main Index
This template generates the
main index page that displays the major categories in your directory.
Category
Index Pages
This template generates all of
the major category pages in your website.
Subcategory
Index Pages
This template generates all of
the sub-category pages in your website. It can be identical to
the main category index page template for consistency across
the directory, however has been included here incase you would
like to alter it slightly.
Add Website
Page
This is the page where other
webmasters can submit their listings into your niche website
directory.
Search
Results Page
This template generates the
search results page displayed when a visitor uses the search
feature of the directory, assuming you are including that
search box include in your templates.
NOTE: Be sure you've specified your
thank you page (the page where users are redirected to after
submitting a website to your directory) in the general settings
area.
}
elseif ($action == "savetemplates") {
$fp = fopen("templates/main.html", "w");
fputs($fp, stripslashes($maintpl));
fclose($fp);
$fp = fopen("templates/category.html", "w");
fputs($fp, stripslashes($cattpl));
fclose($fp);
$fp = fopen("templates/subcategory.html", "w");
fputs($fp, stripslashes($subcattpl));
fclose($fp);
$fp = fopen("templates/add.html", "w");
fputs($fp, stripslashes($addtpl));
fclose($fp);
$fp = fopen("templates/search.html", "w");
fputs($fp, stripslashes($searchtpl));
fclose($fp);
message("Congratulations!", "Your templates were successfully modified.");
}
elseif ($action == "partners") {
echo $headr;
?>
Main
Admin
Find More
Link Partners
This section contains
some very powerful resources that will help you find more strategic
link partners for your directory to improve your link popularity
& search engine positions. Remember that finding link partners
is just a numbers game. The more targeted webmasters you contact,
the more partners you're going to secure. It requires continual
effort and commitment and your initial target should be to find at
least two hundred, if not five hundred link partners...
Digital
Point Advertising Co-Operative
I have seen
excellent results participating in the free Digital
Point Advertising Co-Operative. Both in terms of the
dramatically improved search engine rankings and the
traffic it generates directly. Essentially you place
between 1-5 other members text links throughout the
pages on your website, and in exchange your own text
link is displayed on other members websites. The amount
of exposure you receive on the network is determined by
the number of other members ads you decide to display on
your own website, and the number of pages your website
has indexed in Google.
At the time
of this writing, there are currently over 4,000 unique
websites / domains participating in the co-op, giving
you the potential to generate a lot of unique incoming
backlinks to help boost your search engine rankings. I
currently have this operating on approximately half of
my own websites and at the time of this writing would
recommend it as a great way to automatically increase
your link popularity. The co-op is also Link Management
Assistant compatible.
Visit this
link to JOIN
THE CO-OP NOW
Affiliate
Finder Professional
Affiliate
Finder Pro totally automates the process of finding new
strategic link partners for your niche website
directory. It will search several of the most popular
search engines based on the keyword terms you specify,
and then automatically find the contact information
(name, email address etc) of those website owners who
already have excellent search engine exposure, making
them ideal strategic linking partners.
You can
then use the application to send your personalized link
exchange proposals
directly to those contacts, or import the information
into your own mailing list management software to make
the process even more efficient. If
you're looking to secure hundreds of strategic link
partners & increase your search engine rankings extremely
fast you can't afford NOT to own a copy of Affiliate
Finder Pro.
I highly
recommend it & use it weekly. DOWNLOAD
IT NOW
Duncan
Carver's Text Link Advertising Packages
If you
cannot wait to increase your websites link popularity
& would prefer to purchase text link advertising on
one of several independent networks of websites I
personally control you might like to check to see what I
have available. Often when I have have more inventory
available than I personally use, I will make a few text
link advertising packages available to selected clients.
Given the scarcity
of the inventory however, it's proven performance in
increasing search engine rankings, and high client
retention rates, it is not often that I have any
available. To check to see if I have anything available
at the moment and current rates visit the link below.
Check
current availability here. TEXT
LINK ADVERTISING
echo $footr;
}
elseif ($action == "emails") {
echo $headr;
?>
Main
Admin
Email
Management
This section
allows you to customize the emails that are sent out via the
Link Management Assistant, both administrative emails, and those
delivered to link partners when certain actions occur. You can also
send a personalized broadcast email to all link partners or specific
groups of partners.
Personalization
Fields
Email Link
Partners
To email your link partners or
specific groups of link partners, simply fill out the
respective fields below and click the "Email Now"
button. The email will be sent from the address you've
specified in the "General Settings" area of the Link
Management Assistant.
Customize
System Emails
The following group of customizable
emails are sent when specific actions occur during the day to
day operations of running the Link Management Assistant. To
edit the emails, simply make the respective changes and click
the "Update Emails" button towards the bottom of the
page. You can edit all emails at once, all changes will be
saved when you click the update button.