Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

photogallery.php - HTML 4.01 not valid

Asked Modified Viewed 2,522 times
W
Wooya
W
Wooya 10
PHP-Fusion DEV Team
It's not a bug, it's undocumented feature...
  • Senior Member, joined since
  • Contributed 205 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Senior Member

At line 105 is:
if(++$img_cnt%$settings['albums_per_row']==0) echo "</tr>\n<tr>\n";

should be:
if(++$img_cnt%$settings['albums_per_row']==0) {
   if ($img_cnt!=dbrows($result)) {
      echo "</tr>\n<tr>\n";
   }
}

At line 107 is:
echo "</tr>\n</table>\n";

should be:
echo "</td>\n</tr>\n</table>\n";


At line 135 is:
if(++$img_cnt%$settings['albums_per_row']==0) echo "</tr>\n<tr>\n";

should be:
if(++$img_cnt%$settings['albums_per_row']==0) {
   if ($img_cnt!=dbrows($result)) {
      echo "</tr>\n<tr>\n";
   }
}

At line 137 is:
echo "</tr>\n</table>\n";

should be:
echo "</td>\n</tr>\n</table>\n";



With this modification no Tidy errors occurs :)
Edited by Wooya on 16-01-2006 14:23,
0 replies

3 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

I've started work on the new gallery.
0 replies
W
Wooya
W
Wooya 10
PHP-Fusion DEV Team
It's not a bug, it's undocumented feature...
  • Senior Member, joined since
  • Contributed 205 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Senior Member

Ok :) Waiting :P Any beta available? ;)
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

No not yet, it'll be a week or so.
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 2 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet