vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Making this code XHTML (easy for people wtih coding skills) (https://vborg.vbsupport.ru/showthread.php?t=217250)

MaR? 06-27-2009 07:39 AM

Making this code XHTML (easy for people wtih coding skills)
 
I cant validate this code, please help...

THANKS!

PHP Code:

$perrow
<td class="$bgclass">
<
div class="smallfont" id="picturebits" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]&amp;pictureid=$picture[pictureid]"><img class="page" src="$vboptions[bburl]/$picture[thumburl]alt="$picture[caption_preview]border="0" style="padding:$stylevar[cellpadding]px; <if condition="!$usercss">border:solid $stylevar[cellspacing]px $stylevar[tborder_bgcolor]</if>" $picture[dimensions] /></a>
<
br /> <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$picture[userid]2="$picture[musername]">$vbphrase[by_x]</phrase>
<
br /> <strong>$vbphrase[description]</strong>: $picture[caption]
<if 
condition="$mod_options['album_picture_title']">
<
br /> <strong>$vbphrase[album]</strong>: <a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]">$picture[albumstitle]</a>
</if>
</
div>
</
td



Error: http://validator.w3.org/check?uri=ww...Inline&group=0





.

HMBeaty 06-27-2009 07:42 AM

Where/how are you using this? Can you paste the entire template? Or is this it?

MaR? 06-27-2009 07:45 AM

Is the entire template... I just omited to show the error:

http://validator.w3.org/check?uri=ht...idator%2F1.654

MaR? 06-30-2009 10:22 PM

No one????!!!

MaR? 07-02-2009 10:16 PM

Pleaseeeeeeeeeeeeeeeeee

Dismounted 07-03-2009 05:44 AM

I get a 100% pass with the link you posted...

MaR? 07-03-2009 04:55 PM

After a week I delete:

PHP Code:

<div class="smallfont" id="picturebits" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 


PHP Code:

<div class="smallfont" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 

I dont know what would happen but without this I can validated....

deadlySniper 07-03-2009 05:21 PM

I got a 100% Passed.
So it must be fixed, no?

MaR? 07-03-2009 05:31 PM

Quote:

Originally Posted by deadlySniper (Post 1842188)
I got a 100% Passed.
So it must be fixed, no?

After a week I delete:

PHP Code:

<div class="smallfont" id="picturebits" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 


PHP Code:

<div class="smallfont" align="center">
<
a href="$vboptions[bburl]/album.php?$session[sessionurl] 

I dont know what would happen but without this I can validated....

Dismounted 07-04-2009 06:44 AM

If that is all you removed, it looks like you had an incomplete tag there...


All times are GMT. The time now is 08:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01256 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete