asalali

کاربران
  • تعداد ارسال ها

    2
  • تاریخ عضویت

  • آخرین بازدید

اعتبار در انجمن

10 خوب

درباره asalali

  • درجه
    کاربر معمولی
  • تاریخ تولد
  1. [ATTACH=CONFIG]5099[/ATTACH] سلام چطوری میشه مجموعه ها رو سه ستون کرد.برای دیدن سایز بزرگ روی عکس کلیک کنید نام: Capture1.JPG مشاهده: 0 حجم: 28.7 کیلو بایت من یه مجموعه به نام لبنیات دارم که هر کدوم زیر مجموعه دارند ولی مشگل اینجاست که مجموعه ها هنگام نمایش در یک ستون نمایش میده من میخوام سه ستون داشته باشم این کد چه جوری تغییر بدم ممنون <!-- Begin: Sub Category --> <div class="jshop_list_category"> <?php if (count($this->categories)){ ?> <table class = "jshop"> <?php foreach($this->categories as $k=>$category){?> <?php if ($k%$this->count_category_to_row==0) print "<tr>"; ?> <td class = "jshop_categ" width = "<?php print (100/$this->count_category_to_row)?>%"><table class = "category"> <tr> <td class="image"><a href = "<?php print $category->category_link;?>"><img class = "jshop_img" src = "<?php print $this->image_category_path;?>/<?php if ($category->category_image) print $category->category_image; else print $this->noimage;?>" alt="<?php print htmlspecialchars($category->name)?>" title="<?php print htmlspecialchars($category->name)?>" /></a></td> <td><a class = "product_link" href = "<?php print $category->category_link?>"><?php print $category->name?></a> <p class = "category_short_description"><?php print $category->short_description?></p></td> </tr> </table></td> <?php if ($k%$this->count_category_to_row==$this->count_category_to_row-1) print '</tr>'; ?> <?php } ?> <?php if ($k%$this->count_category_to_row!=$this->count_category_to_row-1) print '</tr>'; ?> </table> <?php } ?> </div> <!-- End: Sub Category -->
  2. سلام چطوری میشه مجموعه ها رو سه ستون کرد.[ATTACH=CONFIG]5098[/ATTACH]ATTACH] من یه مجموعه به نام لبنیات دارم که هر کدوم زیر مجموعه دارند ولی مشگل اینجاست که مجموعه ها هنگام نمایش در یک ستون نمایش میده من میخوام سه ستون داشته باشم این کد چه جوری تغییر بدم ممنون <!-- Begin: Sub Category --> <div class="jshop_list_category"> <?php if (count($this->categories)){ ?> <table class = "jshop"> <?php foreach($this->categories as $k=>$category){?> <?php if ($k%$this->count_category_to_row==0) print "<tr>"; ?> <td class = "jshop_categ" width = "<?php print (100/$this->count_category_to_row)?>%"><table class = "category"> <tr> <td class="image"><a href = "<?php print $category->category_link;?>"><img class = "jshop_img" src = "<?php print $this->image_category_path;?>/<?php if ($category->category_image) print $category->category_image; else print $this->noimage;?>" alt="<?php print htmlspecialchars($category->name)?>" title="<?php print htmlspecialchars($category->name)?>" /></a></td> <td><a class = "product_link" href = "<?php print $category->category_link?>"><?php print $category->name?></a> <p class = "category_short_description"><?php print $category->short_description?></p></td> </tr> </table></td> <?php if ($k%$this->count_category_to_row==$this->count_category_to_row-1) print '</tr>'; ?> <?php } ?> <?php if ($k%$this->count_category_to_row!=$this->count_category_to_row-1) print '</tr>'; ?> </table> <?php } ?> </div> <!-- End: Sub Category -->