Jump to content
Sign in to follow this  
Myt

Помощь С Шаблоном

Recommended Posts

Всем привет!Подскажите пожалуйста как мне сделать систему голосования чтобы проголосовать можно было не только с главной страницы,но и со страницы сервера.

Share this post


Link to post
Share on other sites

В serv.php

  echo"<script type='text/javascript' src='".JS."cookies.js'></script>\n";
echo"<script type='text/javascript' src='".JS."jquery.cookies.js'></script>\n";
echo "<span class=\"label label-warning\"><span class='votes_count' id='votes_count$serv[server_id]' >".$serv['votes']."</span></span></span>";
echo "<span class='vote_buttons' id='vote_buttons$serv[server_id]'>";
echo " <a href='javascript:;' class='vote' id='$serv[server_id]'></a>";
echo "</span>";[/php]

Share this post


Link to post
Share on other sites

В serv.php

  echo"<script type='text/javascript' src='".JS."cookies.js'></script>\n";
echo"<script type='text/javascript' src='".JS."jquery.cookies.js'></script>\n";
echo "<span class=\"label label-warning\"><span class='votes_count' id='votes_count$serv[server_id]' >".$serv['votes']."</span></span></span>";
echo "<span class='vote_buttons' id='vote_buttons$serv[server_id]'>";
echo " <a href='javascript:;' class='vote' id='$serv[server_id]'></a>";
echo "</span>";[/php]

Спасибо большое

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
↑ Наверх ↑