Пример #1
0
                    echo '<div class="blockImg">';
                }
                echo '<div class="innerImg">';
                echo bulidFlickrUrl($image->flickr_photo_id, $image->url_info, $size, $title);
                echo '</div>';
                if ($size != 't' && $size != 's' && $size != 'q') {
                    echo '<p><a style="text-decoration:none;" href="' . get_permalink($image->id) . '" target="_blank"><strong>' . $title . '</strong></a>,' . date('Y/m/d', $image->date_time) . '</p>';
                }
                echo '</div>';
            }
            ?>
 
 <div id="ImgContainer">
  <?php 
            foreach ($images as $image) {
                bulidBlockImg($image, $size);
            }
            ?>
 </div>
 

 <div class="tablenav">
   <div class="tablenav-pages alignright">
	 <span class="displaying-num"><?php 
            echo number_format($total);
            ?>
 <?php 
            echo __('items');
            ?>
</span>
	   <?php 
Пример #2
0
                    echo '<div class="blockImg">';
                }
                echo '<div class="innerImg">';
                echo bulidQiniuUrl($domain, $image->qiniu_key, $size, $title);
                echo '</div>';
                if ($size != 't' && $size != 's' && $size != 'q') {
                    echo '<p><a style="text-decoration:none;" href="' . get_permalink($image->id) . '" target="_blank"><strong>' . $title . '</strong></a>,' . date('Y/m/d', $image->date_time) . '</p>';
                }
                echo '</div>';
            }
            ?>
 
 <div id="ImgContainer">
  <?php 
            foreach ($images as $image) {
                bulidBlockImg($Qiniu['domain'], $image, $size);
            }
            ?>
 </div>
 

 <div class="tablenav">
   <div class="tablenav-pages alignright">
	 <span class="displaying-num"><?php 
            echo number_format($total);
            ?>
 <?php 
            echo __('items');
            ?>
</span>
	   <?php