Как прописать откуда брать ресурсы плагину PHPcode Snippet на Wordpress
А если точнее есть такой код , так же есть файл style.css , script.js и всякие графические елементы , поэтому вопрос куда их надо заливать или как прописать к ним адресс
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Інформаційний Каталог</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="tablewrapper">
<div id="tableheader">
<div class="search">
<select id="columns" onchange="sorter.search('query')"></select>
<input type="text" id="query" onkeyup="sorter.search('query')" />
</div>
<span class="details">
<div>Records <span id="startrecord"></span>-<span id="endrecord"></span> of <span id="totalrecords"></span></div>
<div><a href="javascript:sorter.reset()">reset</a></div>
</span>
</div>
<table cellpadding="0" cellspacing="0" border="0" id="table" class="tinytable">
<thead>
<tr>
<th><h3>позначення НД</h3></th>
<th><h3>назва НД</h3></th>
<th><h3>чинність НД</h3></th>
<th><h3> кількість сторінок в НД</h3></th>
<th><h3> Придбати</h3></th>
</tr>
</thead>
<tbody>
<?php
$db = new mysqli("localhost","root","","work2");
$db->set_charset("utf8");
$sql = $db->query("SELECT * FROM katalog");
$_r = $sql->num_rows;
if ($_r > 0)
{
while ($tablerows = $sql->fetch_array())
{
echo '
<tr>
<td>
<a>'.$tablerows[1].'</a>
</td>
<td>
<a>'.$tablerows[5].'</a>
</td>
<td>
<a>'.$tablerows[7].'</a>
</td>
<td>
<a>'.$tablerows[16].'</a>
</td>
<td>
<a> '.$tablerows[23].'</a>
</td>
</tr>
';
}
}else{
echo '<tr><td colspan=4 style="text-align: center;">Ничего нет</td></tr>';
}
?>
</tbody>
</table>
<div id="tablefooter">
<div id="tablenav">
<div>
<img src="images/first.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1,true)" />
<img src="images/previous.gif" width="16" height="16" alt="First Page" onclick="sorter.move(-1)" />
<img src="images/next.gif" width="16" height="16" alt="First Page" onclick="sorter.move(1)" />
<img src="images/last.gif" width="16" height="16" alt="Last Page" onclick="sorter.move(1,true)" />
</div>
<div>
<select id="pagedropdown"></select>
</div>
<div>
<a href="javascript:sorter.showall()">view all</a>
</div>
</div>
<div id="tablelocation">
<div>
<select onchange="sorter.size(this.value)">
<option value="5">5</option>
<option value="10" selected="selected">10</option>
<option value="20">20</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
<span>Entries Per Page</span>
</div>
<div class="page">Page <span id="currentpage"></span> of <span id="totalpages"></span></div>
</div>
</div>
</div>
<script type="text/javascript" src="/script.js"></script>
<script type="text/javascript">
var sorter = new TINY.table.sorter('sorter','table',{
headclass:'head',
ascclass:'asc',
descclass:'desc',
evenclass:'evenrow',
oddclass:'oddrow',
evenselclass:'evenselected',
oddselclass:'oddselected',
paginate:true,
size:10,
colddid:'columns',
currentid:'currentpage',
totalid:'totalpages',
startingrecid:'startrecord',
endingrecid:'endrecord',
totalrecid:'totalrecords',
hoverid:'selectedrow',
pageddid:'pagedropdown',
navid:'tablenav',
sortcolumn:1,
sortdir:1,
sum:[8],
avg:[6,7,8,9],
columns:[{index:7, format:'%', decimals:1},{index:8, format:'$', decimals:0}],
init:true
});
</script>
</body>
</html>