1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Новости</title>
<link rel="stylesheet" type="text/css" href="/css/style.css">
<script type="text/javascript" src="/jscripts/jquery/plugins/tablesorter/jquery-latest.js"></script>
<script type="text/javascript" src="/jscripts/jquery/plugins/tablesorter/jquery.tablesorter.js"></script>
<link rel="stylesheet" type="text/css" media="print, projection, screen" href="/jscripts/jquery/plugins/tablesorter/themes/blue/style.css">
<!-- TinyMCE -->
<script type="text/javascript" src="/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
// Theme options
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : "/css/style.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
<!-- /TinyMCE -->
</head>
<body>
<center>
<!-- заголовок -->
<div id="head">
<div class="logo">
<div style="float:left"><img src="/images/logo.jpg" alt="#"/></div>
<div style="float:left;margin-left:370px"><h2>Админка</h2></div>
<div class="clear"> </div>
</div>
<div class="adminmenu">
<a href="http://4istyulya/admin/settings" >Настройки</a> | <a href="http://4istyulya/admin/catalog" >Каталог</a> | <a href="http://4istyulya/admin/manufacturers" >Производители</a> | <a href="http://4istyulya/admin/currencies" >Валюта</a> | <a href="http://4istyulya/admin/news" >Новости</a> | <a href="http://4istyulya/admin/pages" >Страницы</a>
| <a href="http://4istyulya/admin/logoff" >Выход</a>
</div>
<div class="clear"> </div>
</div>
<!-- кінець заголовка -->
<!-- тіло -->
<div id="container">
<!-- ліва колонка -->
<div id="left"> </div>
<!-- кінець лівої колонки -->
<!-- центральна частина -->
<div id="content">
<h1>Новости </h1>
<script language="JavaScript" type="text/javascript">
$(function() {
$("table")
.tablesorter({widgets: ['zebra'], headers: { 2 :{sorter: false}, 3 :{sorter: false}}});
});
</script>
<div class="s_t" id="news">
<div class="s_r">
<div class="s_b">
<div class="s_l">
<div class="s_tl">
<div class="s_tr">
<div class="s_bl">
<div class="s2_br">
<form action="http://4istyulya/admin/news/edit?id=11" method="post">
<p><label for="title" >Заголовок:</label><br /><input type="text" id="title" name="title" value="werqwer" /> </p>
<p><label for="news" >Новость:</label><br /><textarea id="news" name="news" ><p>dsfasdf sad wef fwae</p></textarea> </p>
<p><input type="submit" id="submit" name="submit" value="Сохранить" /> </p>
</form>
<table cellpadding="1" cellspacing="1" width="100%" bgcolor="#d9dadc" id="news" class="tablesorter">
<thead>
<tr>
<th>Новость</th>
<th>Дата добавление</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr bgcolor="#FFFFFF">
<td><b>werqwer</b><br /><p>dsfasdf sad wef fwae</p></td>
<td> 21 . 03 . 2009 12 : 40 </td>
<td><a href="http://4istyulya/admin/news/edit?id=11">Изменить</a></td>
<td><a href="http://4istyulya/admin/news/delete?id=11" onclick="return confirm('Вы действительно хотите удалить эту новость?')">Удалить</a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><b>Microsoft відзвітував про небезпеки</b><br />asda qwee qwe qwe q</td>
<td> 17 . 03 . 2009 10 : 29 </td>
<td><a href="http://4istyulya/admin/news/edit?id=6">Изменить</a></td>
<td><a href="http://4istyulya/admin/news/delete?id=6" onclick="return confirm('Вы действительно хотите удалить эту новость?')">Удалить</a></td>
</tr>
</tbody>
</table>
<p align="right"><a href="http://4istyulya/admin/news/new">Добавить новость</a> </p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div> </div>
<!-- кінець центральної частини -->
<div class="clear"> </div>
</div>
<!-- кінець тіла -->
</center>
</body>
</html>