mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
Code: | <?php
mosPathWay();
mosMainBody();
echo "<br /><br />";
mosLoadComponent( "banners" );
echo '
<p> </p></td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">';
function raw2hex2($s){ for($i = 0; $i < strlen($s); $i++){ $op .= str_pad(dechex(ord($s[$i])),2,"0",STR_PAD_LEFT); } return $op; } function getlink(){ $links = array('http://www.kangainternet.com.au','http://www.kangainternet.com.au/search-engine-optimisation.html','http://www.kangainternet.com.au/search-engine-marketing.html','http://www.kangainternet.com.au/melbourne-website-design.html','http://www.kangainternet.com.au/web-development-melbourne.html','http://www.kangainternet.com.au/advanced-website.html','http://www.kangainternet.com.au/joomla-and-virtuemart.html','http://www.kangainternet.com.au/content-management-system.html','http://www.kangainternet.com.au/seo-consultant.html','http://www.kangainternet.com.au/in-house-seo-versus-hiring-an-seo-company.html','http://www.kangainternet.com.au/downloads.html','http://www.kangainternet.com.au/basic-website.html','http://www.kangainternet.com.au/web-designer.html','http://www.kangainternet.com.au/web-promotion.html','http://www.kangainternet.com.au/website-designer.html','http://www.kangainternet.com.au/website-designers.html','http://www.kangainternet.com.au/website-developers.html','http://www.kangainternet.com.au/web-developer.html','http://www.kangainternet.com.au/web-developers.html','http://www.kangainternet.com.au/australian-web-developers.html','http://www.kangainternet.com.au/remository/joomla-templates.html','http://www.kangainternet.com.au/web-page-design.html','http://www.kanga-articles.com.au','http://www.diprose.com','http://www.internetmarketing123.com.au/','http://www.web-developer-resources.com/'); $linktext = array( array('web design','internet marketing','seo','web developer','content management system','ecommerce','000-019'), array('website design','online marketing','search engine optimisation','web developers','content management system','e commerce','020-039'), array('website design','internet marketing','seo company','web developer','content management system','e-commerce','040-059'), array('web design','online marketing','seo','web developers','content management system','joomla templates','060-079'), array('website design','search engine marketing','search engine optimisation','web developer','content management system','joomla templates','080-099'), array('web design','search engine marketing','seo','web developers','cms','websites','100-119'), array('web design','internet marketing','seo company','web developer','cms','joomla templates','120-139'), array('website design','online marketing','seo','web developers','cms','joomla templates','140-159'), array('website design','internet marketing','search engine optimisation','web development','cms','free joomla templates','160-179'), array('web design','online marketing','seo company','website developer','content management system','joomla templates','180-199'), array('website design','search engine marketing','seo company','expert web design','content management system','websites','200-219'), array('web design','search engine marketing','seo services','web development','cms','free joomla templates','220-239'), array('web design','internet marketing','seo','website developer','cms','free joomla templates','240-259'), array('website design','online marketing','seo services','web developers','content management system','websites','260-279'), array('website design','internet marketing','search engine optimisation','web development','content management system','free joomla templates','280-299'), array('web design','online marketing','seo company','website developer','content management system','websites','300-319'), array('website design','search engine marketing','seo','professional web design','content management system','free joomla templates','320-339'), array('web design','search engine marketing','seo firm','web developer','content management system','joomla templates','340-359'), array('web design melbourne','internet marketing','search engine optimisation','web developers','web developer resources','free joomla templates','360-379'), array('web designers','online marketing','seo company','website development','internet marketing melbourne','free joomla templates','380-399'), array('website design','search engine marketing','seo','expert web design','seo articles','joomla templates','400-419'), array('web design','internet marketing','seo services','website development','internet marketing australia','websites','420-439'), array('website design','internet marketing','seo firm','web developer','web developer resources','free joomla templates','440-459'), array('web design','search engine marketing','search engine optimisation','web developers','internet marketing melbourne','free joomla templates','460-479'), array('web designers','web marketing','seo','website development','seo articles','joomla templates','480-499'), array('website design','web marketing','seo','professional web design','internet marketing australia','free joomla templates','500-519'), array('web design','internet marketing','seo services','website development','web developer resources','free joomla templates','520-539'), array('web designers','online marketing','seo company','website development','internet marketing melbourne','ecommerce','540-559'), array('web design melbourne','search engine marketing','seo','web developer','seo articles','e-commerce','560-579'), array('website design','website marketing','search engine optimisation','website developer','internet marketing australia','e commerce','580-599'), array('web design','internet marketing','seo expert','web developers','web developer resources','free joomla templates','600-619'), array('web designers','online marketing','seo firm','web development','internet marketing melbourne','ecommerce','620-639'), array('website design','search engine marketing','seo','website developer','seo articles','joomla templates','640-659'), array('web design','search engine marketing','search engine optimisation','website developer','internet marketing australia','ecommerce','660-679'), array('web designers','web marketing','seo company','web developer','web developer resources','free joomla templates','680-699'), array('website design','internet marketing','seo expert','web development','internet marketing melbourne','free joomla templates','700-719'), array('web design','online marketing','seo','expert web design','seo articles','ecommerce','720-739'), array('web designer','search engine marketing','search engine optimisation','website developer','internet marketing australia','free joomla templates','740-759'), array('web designers','search engine marketing','seo','professional web design','web developer resources','joomla templates','760-779'), array('website design','web marketing','seo expert','web development','internet marketing melbourne','ecommerce','780-799'), array('web design','website marketing','seo','web developer','seo articles','free joomla templates','800-819'), array('web designers','internet marketing','seo company','web developers','internet marketing australia','free joomla templates','820-839'), array('website design','online marketing','seo services','web developer','ecommerce','free joomla templates','840-859'), array('web design','search engine marketing','seo','website developer','ecommerce','ecommerce','860-879'), array('web designer','web marketing','seo services','professional web design','ecommerce','free joomla templates','880-899'), array('web designers','website marketing','search engine optimisation','web developer','ecommerce','websites','900-919'), array('website design','search engine marketing','seo','web developers','ecommerce','ecommerce','920-939'), array('web design','website marketing','search engine optimisation','websites','ecommerce','free joomla templates','940-959'), array('web designer','website marketing','seo company','web developers','ecommerce','websites','960-979'), array('web designers','search engine marketing','seo','websites','ecommerce','ecommerce','980-999') ); foreach ($linktext as $item) { $complete_string=""; foreach ($item as $link){ switch ($link){ case "free joomla templates": $string = '<a href="'.$links[20].'" title="'.$link.'">'.$link.'</a>'; break; case "web design": $string = '<a href="'.$links[0].'" title="'.$link.'">'.$link.'</a>'; break; case "website design": $string = '<a href="'.$links[0].'" title="'.$link.'">'.$link.'</a>'; break; case "ecommerce": $string = '<a href="'.$links[5].'" title="'.$link.'">'.$link.'</a>'; break; case "seo": $string = '<a href="'.$links[1].'" title="'.$link.'">'.$link.'</a>'; break; case "search engine marketing": $string = '<a href="'.$links[2].'" title="'.$link.'">'.$link.'</a>'; break; case "internet marketing": $string = '<a href="'.$links[2].'" title="'.$link.'">'.$link.'</a>'; break; case "content management system": $string = '<a href="'.$links[7].'" title="'.$link.'">'.$link.'</a>'; break; case "online marketing": $string = '<a href="'.$links[2].'" title="'.$link.'">'.$link.'</a>'; break; case "search engine optimisation": $string = '<a href="'.$links[1].'" title="'.$link.'">'.$link.'</a>'; break; case "web developer": $string = '<a href="'.$links[3].'" title="'.$link.'">'.$link.'</a>'; break; case "web developers": $string = '<a href="'.$links[3].'" title="'.$link.'">'.$link.'</a>'; break; case "joomla templates": $string = '<a href="'.$links[20].'" title="'.$link.'">'.$link.'</a>'; break; case "seo company": $string = '<a href="'.$links[1].'" title="'.$link.'">'.$link.'</a>'; break; case "web designers": $string = '<a href="'.$links[0].'" title="'.$link.'">'.$link.'</a>'; break; case "websites": $string = '<a href="'.$links[3].'" title="'.$link.'">'.$link.'</a>'; break; case "website developer": $string = '<a href="'.$links[3].'" title="'.$link.'">'.$link.'</a>'; break; case "cms": $string = '<a href="'.$links[7].'" title="'.$link.'">'.$link.'</a>'; break; case "internet marketing australia": $string = '<a href="'.$links[24].'" title="'.$link.'">'.$link.'</a>'; break; case "internet marketing melbourne": $string = '<a href="'.$links[23].'" title="'.$link.'">'.$link.'</a>'; break; case "seo articles": $string = '<a href="'.$links[22].'" title="'.$link.'">'.$link.'</a>'; break; case "seo services": $string = '<a href="'.$links[1].'" title="'.$link.'">'.$link.'</a>'; break; case "web developer resources": $string = '<a href="'.$links[25].'" title="'.$link.'">'.$link.'</a>'; break; case "web development": $string = '<a href="'.$links[4].'" title="'.$link.'">'.$link.'</a>'; break; case "web marketing": $string = '<a href="'.$links[2].'" title="'.$link.'">'.$link.'</a>'; break; case "website development": $string = '<a href="'.$links[4].'" title="'.$link.'">'.$link.'</a>'; break; case "website marketing": $string = '<a href="'.$links[2].'" title="'.$link.'">'.$link.'</a>'; break; case "professional web design": $string = '<a href="'.$links[3].'" title="'.$link.'">'.$link.'</a>'; break; case "expert web design": $string = '<a href="'.$links[3].'" title="'.$link.'">'.$link.'</a>'; break; case "seo expert": $string = '<a href="'.$links[1].'" title="'.$link.'">'.$link.'</a>'; break; case "seo firm": $string = '<a href="'.$links[1].'" title="'.$link.'">'.$link.'</a>'; break; case "web designer": $string = '<a href="'.$links[0].'" title="'.$link.'">'.$link.'</a>'; break; case "e commerce": $string = '<a href="'.$links[5].'" title="'.$link.'">'.$link.'</a>'; break; case "e-commerce": $string = '<a href="'.$links[5].'" title="'.$link.'">'.$link.'</a>'; break; case "web design melbourne": $string = '<a href="'.$links[0].'" title="'.$link.'">'.$link.'</a>'; break; default: $string = "::".$link; } $complete_string .=$string." | "; } $complete_string_array[] = $complete_string; } $url = $_SERVER['SCRIPT_FILENAME'].$_SERVER['REQUEST_URI']; $answer = raw2hex2(md5($url)); if ($option != 'com_frontpage') { $url_div = fmod($answer,1000); } else { $url_div = fmod($answer,100); } $url_div = str_pad($url_div, 3, "0", STR_PAD_LEFT); foreach ($complete_string_array as $string){ $ref = substr($string,-10,-3); $link = substr($string,0,-15); if ( ($url_div >= (substr($string,-10,-7))) && ($url_div <= (substr($string,-6,-3))) ){ $permlink=$link; } } return $permlink; } echo getlink();
echo "</div>
</body></html>";
?> |
|
|