Bravo List
Register
Go Back   > Bravo List > Source Code > Trackers > phpMyBitTorrent (BT.Manager)
Reply
  #1  
Old 14-09-12, 14:19
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 293
Default Add link with text and image
In my index i have this part of the code wich contains a video player...

Code:
OpenTable("Theme Video:");
include ("giant_preview.html");

CloseTable();

i want to add a line in the space between the include and CloseTable commands wich will look like that:
Code:
If you have troubles watching this video, click here <link+image>

Last edited by Giorgatzelos; 14-09-12 at 17:02.
Reply With Quote
  #2  
Old 15-09-12, 04:30
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,058
Default
PHP Code:
OpenTable("Theme Video:");
echo 
"If you have troubles watching this video, click here <a href=\"link here\"><img src=\"URL to image\" alt=\"Image name\" border=\"0\"></a>\n";
echo 
"<br />";
include (
"giant_preview.html");
CloseTable(); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 15-09-12, 13:49
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 293
Default
Thanks for the reply...i had managed to make it displayed like this:
Code:
OpenTable("Θεματικό Βίντεο:");
echo'<font color="grey">';
include ("giant_preview.html");
echo'<div align="left"><img src="site_logoNEW.gif" title="" />';
print("<b><i>Προσοχή!</i></b>   Σε περίπτωση που αντιμετωπίζετε προβλήματα με την αναπαραγωγή του βίντεο πατήστε στο εικονίδιο ");
echo imgdescr("youtubelogo2.png","http://www.youtube.com/watch?v=ojrG-6YiftU",_bt_youtubeproblem);
print(" για ανακατεύθυνση και αναπαραγωγή.");
CloseTable();
is this a wrong way?

Bump: Sorry that the text is in greek but you will get the point...
Reply With Quote
  #4  
Old 15-09-12, 13:55
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,058
Default
you are forgetting to close you the font tag that is the only thing I see wrong.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #5  
Old 15-09-12, 14:07
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 293
Default
ok, thanx for the correction, i will get that fixed....
Reply With Quote
Reply

Tags
add , image , link , text

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 12:46. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2018, vBulletin Solutions Inc.