From: <pan...@us...> - 2008-09-20 19:57:50
|
Revision: 359 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=359&view=rev Author: panzaboi Date: 2008-09-20 19:57:45 +0000 (Sat, 20 Sep 2008) Log Message: ----------- New Design Incorporated Modified Paths: -------------- website/application/default/controllers/IndexController.php website/application/default/layouts/layout.phtml website/config/config.ini website/httpdocs/scripts/main.js website/httpdocs/styles/style.css Added Paths: ----------- website/httpdocs/images/ website/httpdocs/images/arrow.gif website/httpdocs/images/arrow2.gif website/httpdocs/images/b_find.gif website/httpdocs/images/logo.gif website/httpdocs/images/logod.gif Modified: website/application/default/controllers/IndexController.php =================================================================== --- website/application/default/controllers/IndexController.php 2008-09-20 19:56:01 UTC (rev 358) +++ website/application/default/controllers/IndexController.php 2008-09-20 19:57:45 UTC (rev 359) @@ -29,15 +29,8 @@ echo $form; return; } - - return $this->_redirect('/index/board'); } - public function boardAction() - { - $this->view->field = new Field(1); - } - protected function getLoginForm() { return new LoginForm(array( Modified: website/application/default/layouts/layout.phtml =================================================================== --- website/application/default/layouts/layout.phtml 2008-09-20 19:56:01 UTC (rev 358) +++ website/application/default/layouts/layout.phtml 2008-09-20 19:57:45 UTC (rev 359) @@ -6,14 +6,79 @@ <?= $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8') ?> <?= $this->headLink()->appendStylesheet('styles/style.css') ?> - <?= $this->headLink()->appendStylesheet('styles/ie6.css', 'screen', 'IE 6') ?> - <?= $this->headLink()->appendStylesheet('styles/ie7.css', 'screen', 'IE 7') ?> + <?= /*$this->headLink()->appendStylesheet('styles/ie6.css', 'screen', 'IE 6')*/'' ?> + <?= /*$this->headLink()->appendStylesheet('styles/ie7.css', 'screen', 'IE 7')*/'' ?> <?= $this->headScript()->appendFile('/scripts/main.js') ?> </head> <body> - <div id="wrapper"> - <?= $this->layout()->content ?> - </div> + <table border="0" cellpadding="0" cellspacing="0" width="100%"> + <tr bgcolor="#122a5b"> + <td><img height="43" src="images/logo.gif" width="490"></td> + </tr> + <tr bgcolor="#e1e1e1"> + <td><img height=26 src="images/logod.gif" width="490"></td> + </tr> + <tr> + <td bgcolor=#122a5b colspan=2><img height=2 src="images/0.gif" width=1></td> + </tr> + </table> + <table border=0 cellpadding=0 cellspacing=0 width="100%" summary="" height="20%"> + <tr> + <td bgcolor=#e1e1e1 valign=top width="200"> + <table width="100%" border="0" cellpadding="0" cellspacing="5"> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="index/about">Що це за проект</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="index/rule">Правила</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="archieve/problemset">Набір завдань</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="archieve/submit">Протестувати Розв'язок</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="archieve/results">Результати Тестувань</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="archieve/ranks">Рейтинг Учасників</a></td></tr> + <tr><td><hr></td></tr> + <!--<tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="contests.php">Змагання</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="problemset.php">Завдання</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="monitor.php">Монітор</a></td></tr> + <tr><td><img border="0" src="images/arrow.gif" width="8" height="8" hspace="5"><a href="clar.php">Уточнення умов</a></td></tr>--> + </table> + + <table border=0 cellpadding=4 cellspacing=0 width="100%" summary=""> + <tr><td align=middle bgcolor=#122a5b><font color=#d4d0e2><b><small>вхід</small></b></font></td></tr> + <tr><td> + <form onsubmit="return checkform(this);" method="post" action="login.php?rid=45fed5d9b297f" style="margin:0"> + <input type="hidden" name="path" value="/"> + <table border=0 cellPadding=1 cellSpacing=0 summary="" width=100%> + <tr> + <td class=name nowrap><small><font color=#122a5b> логін:</font></small></td> + <td><input name=lgn style="height: 18px; width: 100px"></td> + <td> </td> + </tr> + <tr> + <td class=name nowrap><small><font color=#122a5b> пароль:</font></small></td> + <td><input name=pswd type=password style="height: 18px; width: 100px"></td> + <td><input name="login" src="images/b_find.gif" type="image"> + </tr> + </table> + </form> + +<CENTER><A href="register.php">Зареєструватись</a><BR><a href=createteam.php>Створити команду</a></CENTER> +</TABLE><TABLE border=0 cellPadding=4 cellSpacing=0 width="100%"> +<TR><TD align=middle bgColor=#122a5b> +<FONT color=#d4d0e2><B><SMALL>F.A.Q.</SMALL></B></FONT> +<TR><TD><TABLE border=0 cellPadding=0 cellSpacing=2 width="100%"><TR><TD><P>Мені здається що програма написана правильно, але система видає "Помилка під час виконання"... +<P>Якщо Ви використовуєте С++, і описали функцію void main(){...} - навіть якщо програма видасть +правильний результат, то система видасть "помилка під час виконання". Це пов'язано з тим, що +в такому випадку код завершення програми непердбачуваний, і практично ніколи небуває нульовим. +<BR>Для того, щоб програму Вам зарахувало (якщо все правильно), необхідно описувати основну +функцію як int main(){...} і обов'язково завершувати програму через return 0. +<TR><TD align=right><P><SMALL><A href="allfaq.php">[ Всі питання ]</p></SMALL></TABLE><TR><TD align=middle bgColor=#122a5b> +<FONT color=#d4d0e2> </FONT> +<TR><TD><TABLE border=0 cellPadding=0 cellSpacing=2 width="100%"><TR><TD align=center> + +</TABLE></TABLE><TD bgColor=#f4f3f8 vAlign=top height=100%><TABLE border=0 cellPadding=8 cellSpacing=1 width="100%"><TR><TD class=name vAlign=top width="100%"><TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TR><TD bgColor=#d0d4de class=name width=4><IMG height=18 src="" width=4><TD nowrap bgColor=#122a5b class=name width=*> <FONT color=#d4d0e2><B><SMALL>Про систему</B></SMALL></FONT><TD nowrap bgColor=#122a5b class=name align=right> <FONT color=#d4d0e2><B><SMALL> 20:26 19 березня 2007 року </B></SMALL></FONT></TABLE><?= $this->layout()->content ?></table></table> +<TABLE> +<TR vAlign=Bottom><TABLE border=0 cellPadding=0 cellSpacing=0 width="100%" summary=""><TR bgColor=#122a5b><TD colSpan=3><IMG alt="" height=5 src="images/pixel.gif" width=1><TR bgColor=#122a5b><TD class=copyright>© 2004-2005, <a class=copyrightlink href="mailto: ac...@ia..."><B><FONT COLOR="#d1d1d1">A-S</FONT>tudio</B></A><TD align=middle><TD align=right class=copyright><A class=copyrightlink href="http://www.acm.lviv.ua">ACM Контестер</A><TR bgColor=#122a5b><TD colSpan=3><IMG alt="" height=5 src="images/pixel.gif" width=1></TABLE> </body> -</html> \ No newline at end of file +</html> + + + + Modified: website/config/config.ini =================================================================== --- website/config/config.ini 2008-09-20 19:56:01 UTC (rev 358) +++ website/config/config.ini 2008-09-20 19:57:45 UTC (rev 359) @@ -15,7 +15,7 @@ #auth.noauth.module = "default" auth.noauth.controller = "index" -auth.noauth.action = "login" +auth.noauth.action = "index" auth.noacl.module = "default" auth.noacl.controller = "error" @@ -30,7 +30,7 @@ lang.path = "lang/"; lang.default = "uk"; -title = "ACM" +title = "ACM Contester" titlesep = " - " [development: general] Property changes on: website/httpdocs/images/arrow.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: website/httpdocs/images/arrow2.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: website/httpdocs/images/b_find.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: website/httpdocs/images/logo.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: website/httpdocs/images/logod.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: website/httpdocs/scripts/main.js =================================================================== --- website/httpdocs/scripts/main.js 2008-09-20 19:56:01 UTC (rev 358) +++ website/httpdocs/scripts/main.js 2008-09-20 19:57:45 UTC (rev 359) @@ -0,0 +1 @@ +function checkForm(form){if(form.lgn.value.length<3){alert('Логін повинен мати як мінімум 3 символи!');return false;}} \ No newline at end of file Modified: website/httpdocs/styles/style.css =================================================================== --- website/httpdocs/styles/style.css 2008-09-20 19:56:01 UTC (rev 358) +++ website/httpdocs/styles/style.css 2008-09-20 19:57:45 UTC (rev 359) @@ -1,15 +1,124 @@ -* -{ - padding: 0; - margin: 0; +BODY { + BACKGROUND-COLOR: #ffffff; MARGIN: 0px } - -div#wrapper -{ - text-align: center; +BODY { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt } - -div#wrapper table#table -{ - margin: 0 auto; +TBODY { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +COL { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +COLGROUP { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +TD { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +P { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +DIV { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +TEXTAREA { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +INPUT { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +SELECT { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +OPTION { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif; FONT-SIZE: 8pt +} +SMALL { + FONT-SIZE: 7pt +} +FORM { + MARGIN: 0px +} +A { + COLOR: #999999; TEXT-DECORATION: none +} +A:link { + COLOR: #999999; TEXT-DECORATION: none +} +A:visited { + COLOR: #999999; TEXT-DECORATION: none +} +A:hover { + COLOR: #122a5b; TEXT-DECORATION: underline +} +A:active { + COLOR: #122a5b; TEXT-DECORATION: none +} +A.staticmenu { + COLOR: #000000; FONT-WEIGHT: bold +} +A.staticmenu:link { + COLOR: #000000; FONT-WEIGHT: bold +} +A.staticmenu:visited { + COLOR: #000000; FONT-WEIGHT: bold +} +A.staticmenu:hover { + COLOR: #000000; FONT-WEIGHT: bold +} +A.staticmenu:active { + COLOR: #000000; FONT-WEIGHT: bold +} +LI { + COLOR: #000000; FONT-FAMILY: verdana,arial,sans-serif +} +.copyright { + COLOR: #ffffff; FONT-SIZE: 7pt; PADDING-LEFT: 10px; PADDING-RIGHT: 10px +} +A.copyrightlink { + COLOR: #edf0fc; FONT-SIZE: 7pt; FONT-WEIGHT: bold +} +A.copyrightlink:link { + COLOR: #edf0fc +} +A.copyrightlink:visited { + COLOR: #edf0fc +} +A.copyrightlink:hover { + COLOR: #edf0fc +} +A.copyrightlink:active { + COLOR: #edf0fc +} +.division { + BACKGROUND: #122a5b +} +.error { + COLOR: #ff0000; FONT-WEIGHT: bold +} +.header { + BACKGROUND: #122a5b; COLOR: #d4d0e2; FONT-SIZE: 7pt; FONT-STYLE: normal; FONT-VARIANT: normal; FONT-WEIGHT: bold; LINE-HEIGHT: normal; PADDING-LEFT: 10px +} +.pager { +} +.tablefix { + WIDTH: 520px +} +.tablevar { + WIDTH: 100% +} +.theme { + BACKGROUND: #edf0fc +} +.themesub { + BACKGROUND: #f4f3f8 +} +.themeother { + BACKGROUND: #f4f3f8 +} +.wtuheaders { + BACKGROUND: none transparent scroll repeat 0% 0% +} +.date { } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |