- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I want to create a dropdown menu in my main menu. It should look like this: [URL="http://www.freeimagehosting.net/uploads/73ebcb47c3.jpg"]LINK to the photo[/URL] But I don't know how to get it work, that it should count the links (categories) inside the menu. If its more than 6, than it should put the 7th, … |
|
This is the code from my main.template.php: [CODE=php] <div class="', ($var % 2 == 0 ? 'index_left':'index_right') ,'"> <div class="content_box"> <h2>', $category['title'] ,'</h2>'; foreach ($main['files'][$category['id']] as $file) { echo ' <div class="file file_index"> <div class="icon"> <a href="', $file['url'] ,'"><img src="', $file['image'] ,'" width="', $settings['image_width'] ,'" height="', $settings['image_height'] ,'" alt="', $file['title'] … |
|
Hi.. I'm having problem with my website, and I just cannot figure it out what's the problem with my code. Any ideas? Thanks. [CODE=PHP] // get related files from database if ($settings['related_files'] == 1) { $related_query = mysql_query('SELECT f.fileid, f.title, f.description, f.icon, f.iconlocation, f.timesplayed from '. $tbl_prefix .'related AS r … |