$zebrainclude $begbody <tr width="100%"><th colspan="2" align="center">Начало</th></tr> <tr width="100%" valign="top"><td width="25%"> <li><a href="http://www.wtg.ru/">White Tiger Group</a> <li><a href="http://www.wtg.ru/zebra/">Zebra</a> <li><a href="http://www.baraholka.ru/">Сетевая Барахолка</a> <li><a href="http://worldart.euro.ru/">WorldArt</a> <li><a href="http://www.wtg.ru/products/wtboard/">WTBoard</a> <li><a href="http://www.wtg.ru/products/dan/">DAN</a> </td> <td width="75%"> Если вы видите перед собой эту страницу, и выглядит она вполне прилично, значит, вы успешно установили WTG Zebra на сервер. Возможно, в дальнейшем появятся некоторые странности. Не пугайтесь скорее всего, они обусловлены конкретной настройкой вашего сервера. Мы работаем над тем, чтобы по возможности учесть <i>все</i> моменты, касающиеся отличий в разных системах и серверах. <p>WTG Zebra представляет собой комплексное программное решение, направленное на организацию, управление и поддержку сайта, и ориентированное на самых разных пользователей. Для начинающих Zebra предоставляет максимально удобные средства, готовые шаблоны и процедуры и подробную документацию, воспользовавшись которыми, можно в сжатые сроки реализовать немалый проект. Более опытные пользователи могут создавать собственные шаблоны и процедуры, доводя таким образом динамичность сайта до крайних пределов познания... Профессионалам, вероятно, интересно будет написание к Zebra собственных модулей, что позволит осуществить практически любые действия по наполнению и поддержке сайта. <p>WTG Zebra является разработкой творческой группы White Tiger Group. В числе наших успешно реализованных проектов также можно назвать сайты «Сетевая барахолка», «WorldArt», программные продукты «WTBoard» и «DAN». <p>Данная начальная страница устанавливается по умолчанию на сайт сразу после инсталляции <a href="http://www.wtg.ru/zebra">Zebra</a>. В дальнейшем при разработке и создании других ресурсов сайта вы можете пользоваться шаблоном этой страницы. Пошаговое руководство можно найти в документации. </td></tr> $endbody <p><table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr valign="top"><td class="copy"> <table border="0" cellpadding="0" cellspacing="1" bgcolor="#000000" style="background-color:#000000"> <tr><td align="center" bgcolor="#ffffff" style="background-color:#ffffff"> <font size="1" face="arial" color="#000000" style="font-family:tahoma,arial;text-decoration:none;font-weight:bold">Zebra © XXI</font></td> </tr> <tr> <td align="center" bgcolor="#000000" style="background-color:#000000"><a href="http://www.wtg.ru/"><font size="1" face="arial" color="#ffffff" style="font-family:tahoma,arial;text-decoration:none; font-weight:bold">White Tiger Group</font></a></td> </tr> </table> </td><td class="small"> Программный продукт «WTG Zebra» является собственностью <a href="http://www.wtg.ru/">White Tiger Group</a>. Все авторские и смежные права закреплены за WTG. <br> «WTG Zebra» не является открытым проектом. Использование его подразумевает ваше согласие с «Лицензионным соглашением». </td></tr> </table>
%#parsepage($page)#% <html> <head> <title>$title</title> </head> <body> $sample_style <table width="100%" border="0" cellpadding="1" cellspacing="1"> <tr width="100%" valign="middle"> <form name="mainmenu" action="$dircgi/$current" method="post"> <th align="left" width="90%"> $title</th> <th align="right" width="10%" nowrap>$menudefault <input type="submit" name="go" value="Go"></th> </form></tr> </table> <div align="right"><small><b>Сейчас %#currentdate#%, это %#count('#site')#%-е посещение сайта.</b></small></div> $sample_headertable <p><table width="100%" border="0" cellpadding="5" cellspacing="1">
</table> <p> $sample_footertable
<style><!-- body {background-color:peachpuff;color:brown; font-family:Verdana,Tahoma,Arial;font-size:16px;margin-top:10px; margin-left:10px;margin-right:10px;margin-bottom:10px} h1 {color:brown} h2 {color:brown} a:link {color:brown;text-decoration:none} a:visited {color:#800000;text-decoration:none} a:active {color:#000000;text-decoration:none} a:hover {color:#880000} b {font-weight:bold} input {font-size:14px} select {font-size:14px} textarea {font-size:14px} table {font-size:14px;background-color:black} th {background-color:#FFC184;font-size:16px;color:black} td {background-color:cornsilk} small {font-size:11px} .small {font-size:11px} .border {background-color:black} .link {background-color:#FFC184} .button {background-color:cornsilk} .error {background-color:#AA4400;font-weight:bold; color:white;font-size:15px} .input {background-color:cornsilk;font-size:14px} .select {background-color:cornsilk;font-size:14px} .ainput {font-size:8px} .stat {font-size:10px} .linktable {background-color:cornsilk} .in {background-color:#FFC184} .out {background-color:peachpuff} //--></style> <script language=javascript><!-- // { c1='#FFC184'; c2='peachpuff'; c3='cornsilk' } function bgc(elm,n){elm.style.backgroundColor=n} //--></script>
sub currentdate { my($format)=@_; local$int{date}=($format||'$dday $wmonth $fullyear, $wday, $hhour:$min'); return zs_stringdate(Zebra::unpacktime($curtime,\@days,\@months)) }
sub count { my(@a,$i,$a,$b); $b=$page; if($_[0] eq '#site'){return $ini{'__sitecounter'}} if(length$_[0]){$b=$_[0]} for$i(@locales) { for(@profiles) { my%a=split(/\x00/,getvalue("a${i}${_}_$b",'shdr')); $a+=1*$a{zcnt} } } return $a }
sub parsepage { require "${pathcgi}zx1.cgi"; $int{menudefault}=Zebra::optselect('l" onchange="mainmenu.submit();return false', $ulocale,@locales,@alocales); $int{menudefault}.=Zebra::optselect('f" onchange="mainmenu.submit();return false', $uprofile,@profiles,@aprofiles); $int{menudefault}.=zs_childpars('l','f','go'); $pat{headertable}=(split(/\x00/,zs_getinil('pat_headertable')))[0]; $pat{footertable}=(split(/\x00/,zs_getinil('pat_footertable')))[0]; if($int{title}){$int{title}.=" — $int{sitename}"}else{$int{title}=$int{sitename}} return ''; }
<table width="100%" border="0" cellpadding="2" cellspacing="1"> <tr width="100%"> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/">WTG</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/zebra/input/">Документация</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/zebra/register/">Регистрация</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/forum/support/">Поддержка</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/forum/zebra/">Форум</a></td> </tr> <tr width="100%"> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="$dircgi/index.cgi${otherresource}$langprof">Начало</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="$dircgi/zs.cgi${otherresource}p=zebra/input$langprof">Документация</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="$dircgi/zf.cgi${otherresource}$langprof">Форум</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="$dircgi/${current}p=$page&search=1$langprof">Поиск</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="$dircgi/ze.cgi${otherresource}">Администрация</a></td> </tr> </table>
<table width="100%" border="0" cellpadding="2" cellspacing="1"> <tr width="100%"> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/">WTG</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/zebra/input/">Документация</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/zebra/register/">Регистрация</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/forum/support/">Поддержка</a></td> <td class="linktable" width="20%" align="center" onmouseover="bgc(this,c1)" onmouseout="bgc(this,c3)"><a href="http://www.wtg.ru/forum/zebra/">Форум</a></td> </tr> </table>
<< FAQ | Руководство по API >> |