This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > | |
<head> | |
<jdoc:include type="head" /> | |
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<install version="1.5" type="template"> | |
<name>Asian</name> | |
<version>1.0</version> | |
<creationDate>19 February</creationDate> | |
<author>phuonghtk</author> | |
<authorEmail>[email protected]</authorEmail> | |
<authorUrl></authorUrl> | |
<copyright></copyright> | |
<license></license> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($this->countModules('left') == 0) $right = "600"; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if($this->countModules('left')) : ?> | |
<jdoc:include type="modules" name="left" style="XHTML" /> | |
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="menu"> | |
<li class="first"> | |
<a href="http://www.vnwebtalk.com">Home</a> | |
</li> | |
<li class="active"> | |
<a href="http://www.vnwebtalk.com">About Us</a> | |
</li> | |
<li> | |
<a href="http://www.vnwebtalk.com">Services</a> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Menu*/ | |
.menu{ | |
height: 30px; | |
line-height: 30px; | |
padding-left: 10px; | |
} | |
.menu li, .menu a{ | |
float: left; | |
display: inline; /*Avoid IE float bug*/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$('.menu li').hover(function(){ | |
$('ul',$(this)).stop(1,1).slideDown(); | |
},function(){ | |
$('ul',$(this)).stop(1,1).slideUp(); | |
}) | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Some style goodness*/ | |
.menu, .menu ul{ | |
background-color: #eee; | |
-moz-border-radius: 5px; /* FF1+ */ | |
-webkit-border-radius: 5px; /* Saf3+, Chrome */ | |
-khtml-border-radius: 5px; /* Konqueror */ | |
border-radius: 5px; /* Standard. IE9 */ | |
border:1px solid #ccc; | |
} | |
.menu li{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_title($url) | |
{ | |
$dom = new DOMDocument(); | |
if($dom->loadHTMLFile($url)) { | |
$list = @$dom->getElementsByTagName("title"); | |
if ($list->length > 0) { | |
return $list->item(0)->textContent; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
preg_match("/(?<=\<title\>)(.+?)(?=\<\/title\>)/s", $web_data, $m) |
OlderNewer