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?

Bootstrap Grid - merge lines

Asked Modified Viewed 2,575 times
C
Catzenjaeger
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
asked
Senior Member

i have change all my tables to the new bootstrap gird system but one question

how i can merge lines. I know how i can merge columns but dont know about merge lines.
I have a Image what i want to show in the first column but i have to merge the first collums to 5 or 6 lines --- but how?
right of the picture i want to show some more lines with text.
I have make it and it works but i guess its not the best version .... can anyone say me what the right command to merge is?

here a image what i want:
www.php-fusion.co.uk/infusions/forum/attachments/erwrw.png


my code works but i have it makes so

line 1
4-4-4
line 2
6-6
line 3
6-6
line5
6-6

echo "<div class='container-fluid'>\n";
         echo "<div class='table-responsive'>\n";
         
         
            
// ZEILE 1
   // ..................... BILD         
            echo "<div class='col-lg-4 col-md-12 col-sm-12 col-xs-12'>\n";
                              $result2 = dbquery("SELECT   
                                 figure_images_image_id,    
                                 figure_images_figure_id,    
                                 figure_images_image,    
                                 figure_images_thumb    
                              FROM ".DB_FIGURE_IMAGES."
                              WHERE figure_images_figure_id='".$data['figure_id']."'
                              LIMIT 0,1");
               
                        if(dbrows($result2)){                  
                           while($data2 = dbarray($result2)){                  
                              echo "<center><a href='".$data['figure']['link']."'><img src='".($data2['figure_images_thumb'] ? THUMBS_FIGURES.$data2['figure_images_thumb'] : IMAGES."imagenotfound.jpg")."' alt='".trimlink($data['figure_title'],100)."' title='".trimlink($data['figure_title'],50)."' style='border:0px;max-height:120px;max-width:120px' /></a>";                  
                           }                              
                        } else {                            
                              echo "<center><a href='".$data['figure']['link']."'><img src='".IMAGES."imagenotfound.jpg' alt='".trimlink($data['figure_title'],100)."' title='".trimlink($data['figure_title'],50)."' style='border:0px;max-height:120px;max-width:120px' /></a>";
                              }
            echo "</div>\n";
   // ..................... VARIANT            
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               if ($data['figure']['variant']) {
                     echo "<span class='small'><strong>Variant: </strong>".trimlink($data['figure']['variant'],10)."</span>\n";
               } else {
                     echo "<span class='small'><strong>Variant: </strong>... missing data ...</span>";
                  }
            echo "</div>\n";

   // ..................... SUBMITTER               
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               echo "<span class='small'><strong>Submitted by: </strong>".profile_link($data['figure']['userid'], $data['figure']['username'], $data['figure']['userstatus'])."<br/></span>\n";
            echo "</div>\n";
            
// ZEILE 2            
   // ..................... MANUFACTURER                        
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               echo "<span class='small'><strong>Manufacturer: </strong>".trimlink($data['figure']['manufacturer'],10)."<br/></span>\n";
            echo "</div>\n";

   // ..................... SUBMITTED ON            
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               //echo "<span class='small'><strong>Submitted on: </strong>".timer($data['figure_datestamp'])." - ".showdate("shortdate", $data['figure_datestamp'])."</span>\n";
               echo "<span class='small'><strong>Submitted on: </strong>".showdate("shortdate", $data['figure_datestamp'])."</span>\n";
            echo "</div>\n";
// ZEILE 3            
   // ..................... BRAND            
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               echo "<span class='small'><strong>Brand: </strong>".trimlink($data['figure']['brand'],10)."</span>\n";
            echo "</div>\n";

   // ..................... VIEWS            
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               echo "<span class='small'><strong>Views: </strong>".$data['figure']['views']."</span>\n";
            echo "</div>\n";            
            
// ZEILE 4            
   // ..................... SCALE            
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               echo "<span class='small'><strong>Scale: </strong>".$data['figure']['scale']."</span>\n";
            echo "</div>\n";

   // ..................... USER COUNT               
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               $count = dbcount("(figure_userfigures_id)", DB_FIGURE_USERFIGURES, "figure_userfigures_figure_id='".$data['figure_id']."'");   
               echo "<span class='small'><strong>User Count: </strong>".$count."</span>\n";
            echo "</div>\n";            
// ZEILE 5            
   // ..................... RELEASE DATE         
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               echo "<span class='small'><strong>Release: </strong>".$data['figure']['year']."</span>\n";
            echo "</div>\n";

   // ..................... COMMENT COUNT               
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               $comments = dbcount("(comment_id)", DB_COMMENTS, "comment_type='FI' AND comment_item_id='".$data['figure_id']."'");
               echo "<span class='small'><strong>Comments: </strong>".$comments."<br/></span>\n";
            echo "</div>\n";                        
// ZEILE 6            
   // ..................... SERIES         
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               if ($data['figure']['series']) {
                  echo "<span class='small'><strong>Series: </strong>".trimlink($data['figure']['series'],10)."</span>\n";
               } else {
                  echo "<span class='small'><strong>Series: </strong> ... missing data ...</span>";
               }
            echo "</div>\n";

   // ..................... RATING               
            echo "<div class='col-lg-4 col-md-6 col-sm-12 col-xs-12'>\n";
               $drating = dbarray(dbquery("
                SELECT
                  SUM(rating_vote) sum_rating,
                     COUNT(rating_item_id) count_votes
                     FROM ".DB_RATINGS."
                     WHERE rating_type='FI'
                     AND  rating_item_id='".$data['figure_id']."'
                  "));
               $rating = ($drating['count_votes'] > 0 ? str_repeat("<img src='".INFUSIONS."figurelib/images/starsmall.png'>",ceil($drating['sum_rating']/$drating['count_votes'])) : "-");
               echo "<span class='small'><strong>Rating: </strong>".$rating."</span>\n";
            echo "</div>\n";            
   // ...........................................                  
            
            
            echo "</div>\n";
            echo "</div>\n";
Catzenjaeger attached the following file:
erwrw.png [No information available / 197 Downloads]
0 replies

2 posts

C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

From your image

<!--- Open Main--->
<div class='row'>
<div class='col-xs-12 col-sm-3'>IMAGE</div>
<div class='col-xs-12 col-sm-9'>

<!--- First Row Right Side--->
<div class='row'>
<div class='col-xs-12 col-sm-3'>First Col/div>
<div class='col-xs-12 col-sm-3'>Second Col/div>
</div>

<!--- Second Row Right Side--->
<div class='row'>
<div class='col-xs-12 col-sm-3'>First Col/div>
<div class='col-xs-12 col-sm-3'>Second Col/div>
</div>

<!--- Third Row Right Side--->
<div class='row'>
<div class='col-xs-12 col-sm-3'>First Col/div>
<div class='col-xs-12 col-sm-3'>Second Col/div>
</div>

<!--- Close Main-->
</div></div>


You nest it.
0 replies
C
Catzenjaeger
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
answered
Senior Member

Thanx -- works perfect
Edited by Catzenjaeger on 23-08-2016 17:44,
Catzenjaeger attached the following file:
unbenannt_11.jpg [No information available / 182 Downloads]
0 replies

Category Forum

PHPFusion Dynamics - 9

Labels

None yet

Statistics

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

2 participants

C
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet