PHP+JavaScript сломал мозг на простом моменте.

devproject

Новичок
Доброго времени суток.
Пришло время попробовать сделать сайт на php+JavaScript и я честно говоря опешил....
https://yadi.sk/i/Fv6AhvUwgMoYK
Вот скрин...
Собственно, что не получается....
По какой то неведомой причине не подключается js хотя пути верные.
И код вроде тоже:

Код:
<html>
<head>
    <link href="css/style.css" rel="stylesheet" type="text/css" >
<link href="css/reset.css" rel="stylesheet" type="text/css" >
<script type="text/javascript" src="/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/js/jcarousellite_1.0.1.js"></script>
<script type="text/javascript" src="/js/shop-script.js"></script>
</head>
Далее я хотел сделать вывод новостей справа по средствам jscrousellite
Но опять же, какая то ерунда получается и ничего не пролистывает.
Не могу найти ошибку. Подозреваю что где-то нагавнокодил...Помогите пожалуйста найти ошибку...
Файлы залил с базой на яндекс диск:
Там же и база лежит, только переименовать нужно, убрать (1).
https://yadi.sk/d/uQnunhZRgMoru
Кому не сложно, посмотрите пожалуйста, что там может быть не так....

Не знаю, стоит ли просто так тут код выкладывать....
Но все же.
Вот index.php:


Код:
<?php
include ("include/db_connect.php");
?>
<html>
<head>
    <link href="css/style.css" rel="stylesheet" type="text/css" >
<link href="css/reset.css" rel="stylesheet" type="text/css" >
<script type="text/javascript" src="/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/js/jcarousellite_1.0.1.js"></script>
<script type="text/javascript" src="/js/shop-script.js"></script>
</head>
<body>
<div id="block-body">
<?php
  include ("include/block-header.php");
?>
<div id="block-right">

<?php
include ("include/block-category.php");
include ("include/block-parametr.php");
include ("include/block-news.php");
?>
</div>

<div id="block-content">


<div id="block-sorting">
<p id="nav-breadcrumbs"><a href="index.php">Главная страница</a> \<span>Все товары</span></p>
<ul id="options-list">
<li>Вид</li>
<li><img id=style-grid" src="/images/grid.png"></li>
<li><img id=style-list" src="/images/list.png"></li>

<li>Сортировать:</li>
<li><a id="select-sort">Без сортировки</a>

<ul id="sorting-list">
<li><a href="">От дешевых к дорогим</a></li>
<li><a href="">От дорогих к дешевым</a></li>
<li><a href="">Популярные</a></li>
<li><a href="">Новинки</a></li>
</ul>
</li>
</ul>
</div>
<ul id="block-tovar-grid">
<?php
$result = mysql_query ("SELECT * FROM table_product",$link);

if (mysql_num_rows($result) > 0)
{
$row = mysql_fetch_array ($result);
do
{
if ($row["image"] !="" && file_exists("./uploads_images/".$row["image"]))
{
$img_path = './uploads_images/'.$row["image"];
$max_width = 200;
$max_height = 200;
list($width, $height) = getimagesize($img_path);
$ratioh = $max_height/$height;
$ratiow = $max_width/$width;
$ratio = min($ratioh, $ratiow);
$width = intval($ratio*$width);
$height = intval($ratio*$height);
}
else
{
$img_path = "/images/no-image.png";
$width = 110;
$height = 200;
}


echo '
<li>
<div class="block-images-grid" >
<img src="'.$img_path.'" width="'.$width.'"height="'.$height.'"/>
</div>
<p class="style-title-grid"><a href="">'.$row["title"].'</p></a>
<ul class="reviews_and_counts-grid">

</ul>
<a class="add-cart-style-grid"></a>
<p class="style-price-grid"><strong>'.$row["price"].'</strong>руб.</p>
<div class="mini-features">'.$row["mini_features"].'
</div>
</li>
';
}
while($row = mysql_fetch_array ($result));
}
?>

</div>
</ul>

<div id="block-footer">

<?php
include ("include/block-footer.php");
?>
<
</body>
</html>
 

devproject

Новичок
Вообщем решил проблему.
Просто js файл карусели скачал другой. Этот был какой-то битый+добавил еще 1 <div> пропустил.
В остальном, все нормально. Спасибо если кто прочитал
 
Сверху