Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: videogalery recommendation

Parašė felhasz· 2014 Rugp. 14 17:08:21
#1

I'm sorry that I'm writing here.
I have a question
I have this:

Code:

//Random video panel start
$result=dbquery(
   "SELECT ta.album_id,album_title,video_id,video_title,video_video FROM ".$db_prefix."video_albums ta ".
   "JOIN ".$db_prefix."videos USING (album_id) WHERE album_id='1' ORDER BY RAND() LIMIT 4"
   );
openside($locale['VG1']);
if (dbrows($result)!= "0") {
   echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>";
   echo "<tr>\n";
   $counter = 0; $columns = 4;
   while($data = dbarray($result)) {
      if ($counter != 0 && ($counter % $columns == 0)) { echo "</tr>\n<tr>\n"; }
      echo "<td width='1%' align='center' valign='top'>";
      echo "<a href='".BASEDIR."videogallery.php?video_id=".$data['video_id']."' class='side'>".$data['video_title']."</a><br /><br />";
      echo "<a href='".BASEDIR."videogallery.php?video_id=".$data['video_id']."' class='side'>";
      echo "<img src='http://i2.ytimg.com/vi/".$data['video_video']."/default.jpg' alt='' title='".$data['video_title']."' style='border:0px' class='videogallery_album_video' /></a>";
 
      echo "<br /><br /></td>";
   $counter++;
 
      }
 
      echo "</tr>\n";
   echo "</table>";


videogalery_panel.php -> Random Video
How to convert?
Need a daily recommendation.
Today's Daily Deal.
Every day new
No F5 -> Random video, .. NO!
After 24 hours, a new video..

Thank you very much.

Parašė ozzWANTED· 2014 Rugp. 15 00:08:15
#2

Well, I'm appreciate that you joined this website, but dude, you have to be more clear what actually you need to do.
I may help you over the skype, but then it will be $50 via Paypal for 1 hr of help.
Otherwise, please be clear on what you need. Cheers.

Parašė PonasLukas· 2014 Rugp. 25 01:08:15
#3

ozz'iuk, viskas cia aisku zmogui reikia kad 00:00h random video atsidurtu savo vietoj. Paprasciausiai issaugot i DB video id iki tam tikro laiko ir viskas. $50/h? :D

Parašė Pakartoti slaptažodį· 2014 Rugp. 25 01:08:32
#4

ozzWANTED parašė:
Well, I'm appreciate that you joined this website, but dude, you have to be more clear what actually you need to do.
I may help you over the skype, but then it will be $50 via Paypal for 1 hr of help.
Otherwise, please be clear on what you need. Cheers.

biški tarifai pas tave :D no shit

Redagavo Pakartoti slaptažodį· 2014 Rugp. 25 01:08:43

Parašė felhasz· 2014 Rugp. 25 15:08:12
#5

Great, great, wonderful, applause $50
I'm not sure anyone will pay, about 10 lines of code. (Google)