Advertisement:

Author Topic: [TIP] Ads Between Listings  (Read 25269 times)

keerthi

  • Hero Member
  • *****
  • Posts: 505
[TIP] Ads Between Listings
« on: June 20, 2014, 08:44:38 am »
Thanks to @teseo. None of the code below are mine.

This procedure will insert an AdSense ad in the middle of your site Ads list, it should put you on the right track if you want to show more:

Theme search-list.php or equivalent:

Code: [Select]
<?php // list regular ads
    
$adSense_middle_pos ceil(osc_count_items()/2);
    
$ad_counter 0;
    while(
osc_has_items()) { ?>


<tr // etc

// [Normal code here]

?>
</tr>

<?php $ad_counter++;
        if (
$ad_counter == $adSense_middle_pos) {
            
//AdSense middle ?>

        <tr><td colspan="2">

// [Specific AdSense code here]

</td></tr>
            <?php }

        
$class = ($class == 'even') ? 'odd' 'even';
    } 
?>


The result will be something like as shown in the pic.

rahulk

  • Full Member
  • ***
  • Posts: 132
  • What we face is destiny, how we face is free will.
Re: [TIP] Ads Between Listings
« Reply #1 on: June 20, 2014, 09:10:06 am »
I am using minimalist theme(Modern), could you guide me step-by-step how to insert this code for adsense ads between listings.

Thanks

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [TIP] Ads Between Listings
« Reply #2 on: June 20, 2014, 11:36:56 am »
Index by theme:

Bender
Bootsnap-Classic
Flatter (Thanks, gnoe)
Infinity
Minimalist (this post)
Modern (this post)
Osclass Wizards
Repurpose
Royal
Twitter

Possible variants (tutorial of sorts :D)

**************************


Hi,

Why, precissely I have used Minimalist 1.2 search-list.php for my example... :D But fine, I'll explain it step by step so it could be useful for other themes too:

1.-

Code: [Select]
// list regular ads
while(osc_has_items())
{

to:

Code: [Select]
// list regular ads
                        $adSense_middle_pos = ceil(osc_count_items()/2);
                        $ad_counter = 0;
while(osc_has_items())
{

2.-

Quote
<tr // etc

// [Normal code here]

?>
</tr>

This translates on vanilla Minimalist as:

Code: [Select]
<tr class="<?php echo $class?>">
<?php
if(osc_images_enabled_at_items())
{
?>

<td class="photo">
<?php
if(osc_count_item_resources())
{
?>

<a href="<?php echo osc_item_url(); ?>" class="image">
<img src="<?php echo osc_resource_thumbnail_url(); ?>" width="75" height="56" title="<?php echo osc_item_title(); ?>" alt="<?php echo osc_item_title(); ?>" />
<?php echo clb_minimalist_format_image_count(); ?>
</a>
<?php
}
else
{
?>

<img src="<?php echo osc_current_web_theme_url('images/no_photo.gif'); ?>" title="" alt="" />
<?php ?>
</td>
<?php
}
?>

<td class="text">
<h3>
<?php
echo clb_minimalist_format_list_title(osc_item_title(), osc_item_url(), falsetrue);
?>

</h3>
<p>
<strong>
<?php
if(osc_price_enabled_at_items())
{
echo osc_item_formated_price();
?>
- <?php
}
echo osc_item_city();
?>
(<?php echo osc_item_region(); ?>) - <?php echo osc_format_date(osc_item_pub_date());
?>

</strong>
</p>
<p><?php echo osc_highlight(strip_tags(osc_item_description())); ?></p>
</td>
</tr>

You need to identify where the table row (<tr>) for each ad starts and finishes (just for reference, you need to leave this block untouched).

3.- Now replace:

Code: [Select]
<?php
$class = ($class == 'even') ? 'odd' 'even';
}
?>

with:

Code: [Select]
<?php 
        $ad_counter
++;
        if (
$ad_counter == $adSense_middle_pos) {
            
//AdSense middle ?>

        <tr><td colspan="2">

// [Specific AdSense code here]

</td></tr>
            <?php }

        
$class = ($class == 'even') ? 'odd' 'even';
    } 
?>

Regards
« Last Edit: October 18, 2017, 02:33:23 pm by teseo »

Media DMJ

  • Jr. Member
  • **
  • Posts: 95
Re: [TIP] Ads Between Listings
« Reply #3 on: June 20, 2014, 12:01:30 pm »
 8)

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [TIP] Ads Between Listings
« Reply #4 on: June 20, 2014, 12:13:00 pm »
***UPDATED***

For Bender you need to modify oc-content/themes/bender/loop.php

This block at the end of the script:

Code: [Select]
            while(osc_has_items()) {
                $i++;
                $class = false;
                if($i%4 == 0){
                    $class = 'last';
                }
                $admin = false;
                if(View::newInstance()->_exists("listAdmin")){
                    $admin = true;
                }

                bender_draw_item($class,$admin);

Replace it with:

Code: [Select]
        $adSense_middle_pos = ceil(osc_count_items()/2);
        $ad_counter = 0;
   
        while(osc_has_items()) {
            $i++;
            $class = false;
            if($i%4 == 0){
                $class = 'last';
            }
            $admin = false;
            if(View::newInstance()->_exists("listAdmin")){
                $admin = true;
            }
       
            bender_draw_item($class,$admin);
       
            $ad_counter++;
            if ($ad_counter == $adSense_middle_pos && bender_show_as() == 'list') {
            //AdSense middle ?>
                <li class="listing-card">
           
                    // [Specific AdSense code here]
           
                </li>
            <?php }

Important note: I've programmed this in a way that will only work for List View, to insert a single "fake regular ad" on Gallery View would scramble the symmetry of the grid layout. :( You'd need to insert 4 AdSenses to keep things pretty...  ???

Regards
« Last Edit: October 18, 2017, 01:43:22 pm by teseo »

rahulk

  • Full Member
  • ***
  • Posts: 132
  • What we face is destiny, how we face is free will.
Re: [TIP] Ads Between Listings
« Reply #5 on: June 21, 2014, 09:07:56 am »
Thanks teseo, you are dependable!

Hambitz Classified

  • Newbie
  • *
  • Posts: 18
Re: [TIP] Ads Between Listings
« Reply #6 on: June 27, 2014, 07:05:31 pm »
Hi can anyone help me with this  using infinity theme?

keerthi

  • Hero Member
  • *****
  • Posts: 505
Re: [TIP] Ads Between Listings
« Reply #7 on: June 27, 2014, 09:27:41 pm »
follow teseos advice. infinity theme is based on bender.

Hambitz Classified

  • Newbie
  • *
  • Posts: 18
Re: [TIP] Ads Between Listings
« Reply #8 on: June 27, 2014, 10:36:04 pm »
Hi Sorry still having problems

adsence doesn't show for me

here is my stock  loop.php
Code: [Select]
<?php
$loopClass 
'';
$type 'items';
if(
View::newInstance()->_exists('listType')){
    
$type View::newInstance()->_get('listType'); 
}
if(
View::newInstance()->_exists('listClass')){
    
$loopClass View::newInstance()->_get('listClass'); 
}
?>

<ul class="listing-card-list <?php echo $loopClass?>" id="listing-card-list">
    <?php
        $i 
0;

        if(
$type == 'latestItems'){
            while ( 
osc_has_latest_items() ) {
                
$class '';
                if(
$i%== 0){
                    
$class 'first';
                }
                
infinity_draw_item($class);
                
$i  ;
            }
        } elseif(
$type == 'premiums'){
            while ( 
osc_has_premiums() ) {
                    
$class '';
                    if(
$i%== 0){
                        
$class 'first';
                    }
                    
infinity_draw_item($class,false,true);
                    
$i  ;
                    if(
$i == 3){
                        break;
                    }
                
$i  ;
            }
        } else {
            while(
osc_has_items()) {
                
$i  ;
                
$class false;
                if(
$i%== 0){
                    
$class 'last';
                }
                
$admin false;
                if(
View::newInstance()->_exists("listAdmin")){
                    
$admin true;
                }

                
infinity_draw_item($class,$admin);
          }
        }
    
?>

</ul>
  can somebody please  help

here is the file with my changes

Code: [Select]
<?php
$loopClass 
'';
$type 'items';
if(
View::newInstance()->_exists('listType')){
    
$type View::newInstance()->_get('listType'); 
}
if(
View::newInstance()->_exists('listClass')){
    
$loopClass View::newInstance()->_get('listClass'); 
}
?>

<ul class="listing-card-list <?php echo $loopClass?>" id="listing-card-list">
    <?php
        $i 
0;

        if(
$type == 'latestItems'){
            while ( 
osc_has_latest_items() ) {
                
$class '';
                if(
$i%== 0){
                    
$class 'first';
                }
                
infinity_draw_item($class);
                
$i  ;
            }
        } elseif(
$type == 'premiums'){
            while ( 
osc_has_premiums() ) {
                    
$class '';
                    if(
$i%== 0){
                        
$class 'first';
                    }
                    
infinity_draw_item($class,false,true);
                    
$i  ;
                    if(
$i == 3){
                        break;
                    }
                
$i  ;
            }
        } else {
            while(
osc_has_items()) {
                
$i  ;
                
$class false;
                if(
$i%== 0){
                    
$class 'last';
                }
                
$admin false;
                if(
View::newInstance()->_exists("listAdmin")){
                    
$admin true;
                }

                
infinity_draw_item($class,$admin);
          }
        }
    
?>

</ul>
     } else {
            $adSense_middle_pos = ceil(osc_count_items()/2);
            $ad_counter = 0;

            while(osc_has_items()) {
                $i  ;
                $class = false;
                if($i%4 == 0){
                    $class = 'last';
                }
                $admin = false;
                if(View::newInstance()->_exists("listAdmin")){
                    $admin = true;
                }

                infinity_draw_item($class,$admin);

                $ad_counter  ;
                if ($ad_counter == $adSense_middle_pos && Params::getParam('ShowAs' != 'gallery')) {
                    //AdSense middle ?>
                    <tr><td colspan="2">

                          <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- myads bottom -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-9669950371192794"
     data-ad-slot="4003719862"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>   

                    </td></tr>
                    <?php }
          }
        }
    
?>

</ul>


what am I doing wrong? :-[

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [TIP] Ads Between Listings
« Reply #9 on: June 27, 2014, 11:30:29 pm »
Hi,

You didn't pay enough attention. Take another look at my last post for Bender, you have in your theme a block of code virtually identical to what needs to be replaced, the only difference is in this line:

bender_draw_item($class,$admin); ==> infinity_draw_item($class,$admin);

 ;)

Regards

Hambitz Classified

  • Newbie
  • *
  • Posts: 18
Re: [TIP] Ads Between Listings
« Reply #10 on: June 28, 2014, 02:37:06 am »
Hi Teseo,

either Im blind or stupid or both but I have changed that line   and still nothing shows..   long day lol :-[

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [TIP] Ads Between Listings
« Reply #11 on: June 28, 2014, 03:02:21 am »
***UPDATED***

For Infinity you need to modify oc-content/themes/infinity/loop.php

This block:

Code: [Select]
            while(osc_has_items()) {
                $i++;
                $class = false;
                if($i%4 == 0){
                    $class = 'last';
                }
                $admin = false;
                if(View::newInstance()->_exists("listAdmin")){
                    $admin = true;
                }

                infinity_draw_item($class,$admin);
 
 

Replace it with:

Code: [Select]
        $adSense_middle_pos = ceil(osc_count_items()/2);
        $ad_counter = 0;
   
        while(osc_has_items()) {
            $i++;
            $class = false;
            if($i%4 == 0){
                $class = 'last';
            }
            $admin = false;
            if(View::newInstance()->_exists("listAdmin")){
                $admin = true;
            }
       
            infinity_draw_item($class,$admin);
       
            $ad_counter++;
            if ($ad_counter == $adSense_middle_pos && infinity_show_as() == 'list') {
            //AdSense middle ?>
                <li class="listing-card">
           
                    // [Specific AdSense code here]
           
                </li>
            <?php 

Regards
« Last Edit: October 18, 2017, 01:55:15 pm by teseo »

creat15

  • Full Member
  • ***
  • Posts: 218
Re: [TIP] Ads Between Listings
« Reply #12 on: July 08, 2014, 04:19:35 pm »
Hi :) teseo i follow your tutorial, but banner ads not show on search_list.php

this is my code search_list.php i using classic theme


Code: [Select]
        <?php while(osc_has_premiums()) { ?>
            <div class="item-list well2">
                <div class="text">
                <p class="featured" >Premium Listing | $ <?php if (osc_price_enabled_at_items()) {echo osc_premium_formated_price() . " ";}?></p>
                <h3>
                <a href="<?php echo osc_premium_url();?>"><?php echo osc_premium_title();?></a>
                </h3>
                <p><strong><?php if (osc_premium_city() != '') {echo osc_premium_city();}if (osc_premium_region() != '') {echo ' (' osc_premium_region() . ')';}echo ' - ' osc_format_date(osc_premium_pub_date()); echo ' - Total Views: '.ItemStats::newInstance()->getViews(osc_premium_id()); ?> </strong> - <strong>expired: <?php echo time_diff1(osc_premium_pub_date());?></strong></p>
                <p><?php echo osc_highlight(strip_tags(osc_premium_description()));?></p>
                <p><a title="" href="<?php echo osc_premium_url();?>" class="btn pull-right">See More... <strong>&raquo;</strong></a></p>
                </div>
                <?php if( osc_images_enabled_at_items() ) { ?>

                 <div class="photo">
                     <?php if(osc_count_premium_resources()) { ?>
                        <a href="<?php echo osc_premium_url() ; ?>"><img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="125px" height="125px" title="" alt="" /></a>
                    <?php } else { ?>
                        <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="125px" height="125px" title="" alt="" title="" alt="" />
                    <?php ?>
                 </div>
                 <?php ?>
             </div>
        <?php ?>
<?php ?>

        <?php while(osc_has_items()) { ?>
<?php if(!osc_item_is_premium()) { ?>
             <div class="item-list well">
               <div class="text">
                <p class="price">$ <?php if (osc_price_enabled_at_items()) {echo osc_item_formated_price();?></p>
                <h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();}?></a></h3>
                <p><strong><?php if (osc_item_city() != '') {echo osc_item_city();}if (osc_item_region() != '') {echo ' (' osc_item_region() . ')';}echo ' - ' osc_format_date(osc_item_pub_date()); echo ' - Total Views: '.ItemStats::newInstance()->getViews(osc_item_id()); ?> </strong> - <strong>expired : <?php echo time_diff1(osc_item_pub_date());?></strong></p>
                <p><?php echo osc_highlight(strip_tags(osc_item_description()));?></p>
                <p><a title="" href="<?php echo osc_item_url() ; ?>" class="btn pull-right">See More... <strong>&raquo;</strong></a></p>
                </div>
                <?php if( osc_images_enabled_at_items() ) { ?>
                 <div class="photo">
                     <?php if(osc_count_item_resources()) { ?>
                        <a href="<?php echo osc_item_url() ; ?>"><img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="125px" height="125px" title="" alt="" /></a>
                    <?php } else { ?>
                        <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="125px" height="125px" title="" alt="" />
                    <?php ?>
                 </div>
                 <?php ?>

             </div>
<?php ?>
        <?php ?>

please help me  :-[

thanks before
« Last Edit: July 08, 2014, 04:25:13 pm by creat15 »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: [TIP] Ads Between Listings
« Reply #13 on: July 08, 2014, 04:55:06 pm »
Hi,

The element where each ad is wrapped on may vary from theme to theme, the key to adapt this code to your theme is here:

Quote
<?php $ad_counter++;
        if ($ad_counter == $adSense_middle_pos) {
            //AdSense middle ?>
        <tr><td colspan="2">

// [Specific AdSense code here]

</td></tr>
            <?php }

Themes Modern, Minimalist, Bender and Infinity (already mentioned in this thread) and others use an HTML table, yours seems to use a div, so replace this block:

Code: [Select]
<?php while(osc_has_items()) { ?>
<?php if(!osc_item_is_premium()) { ?>
             <div class="item-list well">
               <div class="text">
                <p class="price">$ <?php if (osc_price_enabled_at_items()) {echo osc_item_formated_price();?></p>
                <h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();}?></a></h3>
                <p><strong><?php if (osc_item_city() != '') {echo osc_item_city();}if (osc_item_region() != '') {echo ' (' osc_item_region() . ')';}echo ' - ' osc_format_date(osc_item_pub_date()); echo ' - Total Views: '.ItemStats::newInstance()->getViews(osc_item_id()); ?> </strong> - <strong>expired : <?php echo time_diff1(osc_item_pub_date());?></strong></p>
                <p><?php echo osc_highlight(strip_tags(osc_item_description()));?></p>
                <p><a title="" href="<?php echo osc_item_url() ; ?>" class="btn pull-right">See More... <strong>&raquo;</strong></a></p>
                </div>
                <?php if( osc_images_enabled_at_items() ) { ?>
                 <div class="photo">
                     <?php if(osc_count_item_resources()) { ?>
                        <a href="<?php echo osc_item_url() ; ?>"><img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="125px" height="125px" title="" alt="" /></a>
                    <?php } else { ?>
                        <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="125px" height="125px" title="" alt="" />
                    <?php ?>
                 </div>
                 <?php ?>

             </div>
<?php ?>
        <?php ?>

with:

Code: [Select]
<?php 
    $adSense_middle_pos 
ceil(osc_count_items()/2);
    
$ad_counter 0;
    while(
osc_has_items()) { ?>

<?php if(!osc_item_is_premium()) { ?>
             <div class="item-list well">
               <div class="text">
                <p class="price">$ <?php if (osc_price_enabled_at_items()) {echo osc_item_formated_price();?></p>
                <h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();}?></a></h3>
                <p><strong><?php if (osc_item_city() != '') {echo osc_item_city();}if (osc_item_region() != '') {echo ' (' osc_item_region() . ')';}echo ' - ' osc_format_date(osc_item_pub_date()); echo ' - Total Views: '.ItemStats::newInstance()->getViews(osc_item_id()); ?> </strong> - <strong>expired : <?php echo time_diff1(osc_item_pub_date());?></strong></p>
                <p><?php echo osc_highlight(strip_tags(osc_item_description()));?></p>
                <p><a title="" href="<?php echo osc_item_url() ; ?>" class="btn pull-right">See More... <strong>&raquo;</strong></a></p>
                </div>
                <?php if( osc_images_enabled_at_items() ) { ?>
                 <div class="photo">
                     <?php if(osc_count_item_resources()) { ?>
                        <a href="<?php echo osc_item_url() ; ?>"><img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="125px" height="125px" title="" alt="" /></a>
                    <?php } else { ?>
                        <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="125px" height="125px" title="" alt="" />
                    <?php ?>
                 </div>
                 <?php ?>

             </div>
<?php ?>

<?php $ad_counter++;
        if (
$ad_counter == $adSense_middle_pos) {
            
//AdSense middle ?>

        <div class="item-list well">

// [Specific AdSense code here]

</div>
            <?php }

        <?
php ?>

As you can see the opening table-specific tags <tr><td colspan="2"> are replaced with <div class="item-list well">

and the closing table-specific tags </td></tr> are replaced with </div>

Regards

creat15

  • Full Member
  • ***
  • Posts: 218
Re: [TIP] Ads Between Listings
« Reply #14 on: July 11, 2014, 06:44:24 pm »
Hi,

The element where each ad is wrapped on may vary from theme to theme, the key to adapt this code to your theme is here:

Quote
<?php $ad_counter++;
        if ($ad_counter == $adSense_middle_pos) {
            //AdSense middle ?>
        <tr><td colspan="2">

// [Specific AdSense code here]

</td></tr>
            <?php }

Themes Modern, Minimalist, Bender and Infinity (already mentioned in this thread) and others use an HTML table, yours seems to use a div, so replace this block:

Code: [Select]
<?php while(osc_has_items()) { ?>
<?php if(!osc_item_is_premium()) { ?>
             <div class="item-list well">
               <div class="text">
                <p class="price">$ <?php if (osc_price_enabled_at_items()) {echo osc_item_formated_price();?></p>
                <h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();}?></a></h3>
                <p><strong><?php if (osc_item_city() != '') {echo osc_item_city();}if (osc_item_region() != '') {echo ' (' osc_item_region() . ')';}echo ' - ' osc_format_date(osc_item_pub_date()); echo ' - Total Views: '.ItemStats::newInstance()->getViews(osc_item_id()); ?> </strong> - <strong>expired : <?php echo time_diff1(osc_item_pub_date());?></strong></p>
                <p><?php echo osc_highlight(strip_tags(osc_item_description()));?></p>
                <p><a title="" href="<?php echo osc_item_url() ; ?>" class="btn pull-right">See More... <strong>&raquo;</strong></a></p>
                </div>
                <?php if( osc_images_enabled_at_items() ) { ?>
                 <div class="photo">
                     <?php if(osc_count_item_resources()) { ?>
                        <a href="<?php echo osc_item_url() ; ?>"><img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="125px" height="125px" title="" alt="" /></a>
                    <?php } else { ?>
                        <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="125px" height="125px" title="" alt="" />
                    <?php ?>
                 </div>
                 <?php ?>

             </div>
<?php ?>
        <?php ?>

with:

Code: [Select]
<?php 
    $adSense_middle_pos 
ceil(osc_count_items()/2);
    
$ad_counter 0;
    while(
osc_has_items()) { ?>

<?php if(!osc_item_is_premium()) { ?>
             <div class="item-list well">
               <div class="text">
                <p class="price">$ <?php if (osc_price_enabled_at_items()) {echo osc_item_formated_price();?></p>
                <h3><a href="<?php echo osc_item_url();?>"><?php echo osc_item_title();}?></a></h3>
                <p><strong><?php if (osc_item_city() != '') {echo osc_item_city();}if (osc_item_region() != '') {echo ' (' osc_item_region() . ')';}echo ' - ' osc_format_date(osc_item_pub_date()); echo ' - Total Views: '.ItemStats::newInstance()->getViews(osc_item_id()); ?> </strong> - <strong>expired : <?php echo time_diff1(osc_item_pub_date());?></strong></p>
                <p><?php echo osc_highlight(strip_tags(osc_item_description()));?></p>
                <p><a title="" href="<?php echo osc_item_url() ; ?>" class="btn pull-right">See More... <strong>&raquo;</strong></a></p>
                </div>
                <?php if( osc_images_enabled_at_items() ) { ?>
                 <div class="photo">
                     <?php if(osc_count_item_resources()) { ?>
                        <a href="<?php echo osc_item_url() ; ?>"><img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="125px" height="125px" title="" alt="" /></a>
                    <?php } else { ?>
                        <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" width="125px" height="125px" title="" alt="" />
                    <?php ?>
                 </div>
                 <?php ?>

             </div>
<?php ?>

<?php $ad_counter++;
        if (
$ad_counter == $adSense_middle_pos) {
            
//AdSense middle ?>

        <div class="item-list well">

// [Specific AdSense code here]

</div>
            <?php }

        <?
php ?>

As you can see the opening table-specific tags <tr><td colspan="2"> are replaced with <div class="item-list well">

and the closing table-specific tags </td></tr> are replaced with </div>

Regards

Hi :)

thanks for help its work for me :D