Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Slika umjesto teksta

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
kleo



Joined: 27 Nov 2006
Posts: 70
Location: Koprivnica

PostPosted: 15.02.2010 09:28    Post subject: Slika umjesto teksta Add user to your forum ignore list Reply with quote

Imam ovkav kod

Code:
 <?
   if ($file_del_allow == 1)
   {
      echo"<a title=\"Download file\" href=\"?act=dl&file=$value_en\">&lt;dl&gt;</a>";
    }
   else
   {
      echo"<a title=\"Download file\" href=\"?act=dl&file=$value_en\">PREUZMI DATOTEKU</a>";
   }

   if ($file_del_allow == 1)
   {
      echo"&nbsp;|&nbsp;<a title=\"Delete file\" href=\"javascript:;\" onClick=\"cf=confirm('Are you sure you want to delete this file?');if (cf)window.location='?act=del&file=$value_en'; return false;\">&lt;delete&gt;</a>";
   }
   else
   {
      echo"&nbsp;";
   }
?>


i onda mi se na str pokaže PREUZMI DATOTEKU

kako to promijeniti da mi se pokaže slika koja se nalazi npr u istom direktoriju i zove se download.pgn

_________________
Carpe diem!
Kad ti filozof odgovori na pitanje, više ni sam neznaš što si pitao
Back to top
View user's profile Send private message
Ivan Podrug - e1



Joined: 15 Apr 2005
Posts: 316
Location: Solin

PostPosted: 15.02.2010 09:35    Post subject: Add user to your forum ignore list Reply with quote

?
umjesto PREUZMI DATOTEKU napiši
Code:
<img src="download.png" />

_________________
there R only 10 typs of ppl.
Those who understand binary & those who don't.
Back to top
View user's profile Send private message
kleo



Joined: 27 Nov 2006
Posts: 70
Location: Koprivnica

PostPosted: 15.02.2010 09:50    Post subject: Add user to your forum ignore list Reply with quote

ne radi - baca mi error u toj liniji

_________________
Carpe diem!
Kad ti filozof odgovori na pitanje, više ni sam neznaš što si pitao
Back to top
View user's profile Send private message
i72852



Joined: 25 Feb 2004
Posts: 81

PostPosted: 15.02.2010 10:37    Post subject: Add user to your forum ignore list Reply with quote

kleo wrote:
ne radi - baca mi error u toj liniji


treba navodnike escape-at, ovako:
Code:
<img src=\"download.png\" />


vjerojatno ce se pojaviti plavi rub oko slike, onda staviti ovo:
Code:
<img src=\"download.png\" border=\"0\" />
Back to top
View user's profile Send private message Visit poster's website
kleo



Joined: 27 Nov 2006
Posts: 70
Location: Koprivnica

PostPosted: 15.02.2010 20:52    Post subject: Add user to your forum ignore list Reply with quote

Hvala puno i72852...proradilo je!!

_________________
Carpe diem!
Kad ti filozof odgovori na pitanje, više ni sam neznaš što si pitao
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group