- Автор темы
- #1
Господа нашел интересный шаблон, хочу взять его структуру, как из исходного кода сделать index.php для Joomla 1,0
PHP:
<!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">
<head>
<title></title>
<meta name="title" content="" />
<meta name="author" content="" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link href="http://site.ru/components/com_jcomments/tpl/default/style.css" rel="stylesheet" type="text/css" />
<script type='text/javascript'>
var jax_live_site = 'http://site.ru/index.php';
</script><script type="text/javascript" src="http://site.ru/mambots/system/pc_includes/ajax.js"></script>
<base href="http://site.ru/" />
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<link rel="shortcut icon" href="http://site.ru/images/favicon.ico" />
<link href="http://site.ru/templates/333/css/rokmoomenu.css" rel="stylesheet" type="text/css" />
<link href="http://site.ru/templates/333/css/template_css.css" rel="stylesheet" type="text/css" />
<link href="http://site.ru/templates/333/css/style1.css?nocache=1" rel="stylesheet" type="text/css" />
<link href="http://site.ru/templates/333/rokzoom/rokzoom.css" rel="stylesheet" type="text/css" />
<link href="http://site.ru/templates/333/css/rokslidestrip.css" rel="stylesheet" type="text/css" />
<style type="text/css">
div.wrapper { margin: 0 auto; width: 1028px;padding:0;}
.shadow-3 { width: 710px;}
</style>
<script type="text/javascript" src="http://site.ru/templates/333/js/mootools-release-1.11.js"></script>
<script type="text/javascript">tempus=false</script>
<script type="text/javascript" src="http://site.ru/templates/333/js/roktempus.js"></script>
<script type="text/javascript" src="http://site.ru/templates/333/rokzoom/rokzoom.js"></script>
<script type="text/javascript" src="http://site.ru/templates/333/js/rokmoomenu.js"></script>
<script type="text/javascript" src="http://site.ru/templates/333/js/mootools.bgiframe.js"></script>
<script type="text/javascript">
window.addEvent('domready', function() {
new Rokmoomenu($E('ul.menu'), {
bgiframe: false,
delay: 500,
animate: {
props: ['opacity', 'width', 'height'],
opts: {
duration:400,
fps: 100,
transition: Fx.Transitions.Quad.easeOut
}
}
});
});
</script>
<script type="text/javascript">
window.addEvent('load', function() {
RokZoom.init({
imageDir: 'templates/333/rokzoom/images/',
resizeFX: {
duration: 700,
transition: Fx.Transitions.Cubic.easeOut,
wait: true
},
opacityFX: {
duration: 500,
wait: false
}
});
});
</script>
</head>
<body class="f-default style1">
<!-- begin top part -->
<div id="bg-top">
<div id="bg-top-overlay"></div>
</div>
<!-- end top part -->
<!-- start overall frame -->
<div id="overall-frame">
<!-- begin bottom part IE ONLY -->
<div id="bg-bottom-ie">
<div id="bg-bottom-overlay-ie"></div>
</div>
<!-- end bottom part ie -->
<!-- start bottom part OTHER BROWSERS -->
<div id="bg-bottom">
<div id="bg-bottom-overlay">
<!-- begin wrapper -->
<div class="wrapper">
<div id="top-shadow">
<div class="shadow-1"></div>
<div class="shadow-2"></div>
<div class="shadow-3"></div>
<!-- begin header -->
<div id="header">
<div id="logo-space"><a href="http://site.ru" class="nounder"><img src="http://site.ru/templates/333/images/logo.png" border="0" alt="" id="logo" /></a><br /><span>www.333.ru</span></div>
</div>
<div id="mod-search">
<form action="index.php?option=com_search" method="get">
<div class="search">
<input name="searchword" id="mod_search_searchword" maxlength="100" alt="search" class="inputbox" type="text" size="20" value="Поиск по сайту.." onblur="if(this.value=='') this.value='Поиск по сайту..';" onfocus="if(this.value=='Поиск по сайту..') this.value='';" /> </div>
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="" />
</form> </div>
</div>
<div id="horiz-menu" class="moomenu">
<ul class="menu" id="horiznav"><li class="active"><span class="top"><a href="index.php?option=com_content&task=view&id=205&Itemid=176">Главная</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Регионы</a><span class="selector"></span></span></li>
<li><span class="topdaddy"><a class="topdaddy" href="#">Гостиницы</a><span class="selector"></span></span><ul>
<li><span class="top"><a href="#">Красноярск</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Тюмень</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Казань</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Брянск</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Воронеж</a><span class="selector"></span></span></li>
</ul></li>
<li><span class="top"><a href="#">Такси</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Рестораны</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Ночная жизнь</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Форум</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Реклама</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Обратная связь</a><span class="selector"></span></span></li>
<li><span class="top"><a href="#">Ошибка?</a><span class="selector"></span></span></li>
</ul>
</div>
<!-- end header -->
<!-- begin inset -->
<div id="inset">
</div>
<!-- end inset -->
<!-- begin mainbody -->
<div id="body-shadow-left">
<div id="body-shadow-right">
<div id="body">
<table class="mainbody" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td class="secondcol" width="180">
<div id="secondcol">
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div>
<div class="moduletable-hilite3">
<h3>
Тестовый модуль </h3>
<table><tr><td width="200">Текст тестового модуля</td></tr></table> </div>
<div class="moduletable">
<div class="maindiv"><div ><a href="index.php?option=com_content&task=view&id=205&Itemid=176" title="Главная" class="mainlevel" id="active_menu">Главная</a></div><div ><a href="#" title="Регионы" class="mainlevel" >Регионы</a></div><div ><a href="#" title="Гостиницы" class="mainlevel" >Гостиницы</a></div><div ><a href="#" title="Такси" class="mainlevel" >Такси</a></div><div ><a href="#" title="Рестораны" class="mainlevel" >Рестораны</a></div><div ><a href="#" title="Ночная жизнь" class="mainlevel" >Ночная жизнь</a></div><div ><a href="#" title="Форум" class="mainlevel" >Форум</a></div><div ><a href="#" title="Реклама" class="mainlevel" >Реклама</a></div><div ><a href="#" title="Обратная связь" class="mainlevel" >Обратная связь</a></div><div ><a href="#" title="Ошибка?" class="mainlevel" >Ошибка?</a></div></div> </div>
</div>
</td>
<td class="maincol">
<div id="maincol">
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div>
<span class="pathway"><a href="http://site.ru" class="pathway" title="Главная">Главная</a> <img src="http://site.ru/templates/333/images/arrow.png" border="0" alt="arrow" /> Главная </span> <div id="component">
<div class="padding">
<table class="contentpaneopen">
<tr>
<td class="contentheading" width="100%">
<h1></h1> </td>
</tr>
</table>
<table class="contentpaneopen">
<tr>
<td valign="top" colspan="2">
<div align="justify"><p></p></div>
</td>
</tr>
</table>
<span class="article_seperator"> </span>
</div>
</div>
</div>
</td>
<td class="thirdcol" width="160">
<div id="thirdcol">
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div>
<div class="moduletable-hilite1">
<h3>
Тестовый модуль 2 </h3>
Текст тестового модуля 2 </div>
</div>
</td>
</tr>
<tr>
<td class="maincol bottom">
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div>
</td>
<td class="secondcol bottom">
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div>
</td>
<td class="thirdcol bottom">
<div class="accent"><div class="accent-left"></div><div class="accent-right"></div></div>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="body-shadow">
<div class="shadow-1"></div>
<div class="shadow-2"></div>
<div class="shadow-3"></div>
</div>
<!-- end mainbody -->
<!-- begin bottom panel -->
<div id="bottom-modules">
<div class="padding" >
</div>
</div>
<div id="footer-shadow">
<div class="shadow-1"></div>
<div class="shadow-2"></div>
<div class="shadow-3"></div>
</div>
<!--end body panel -->
</div>
<!-- end wrapper -->
</div>
</div>
<!-- end bottom part OTHER BROWSERS -->
</div>
<!-- end overall frame -->
</body>
</html>