示例#1
0
            ?>
	                            <?php 
        }
        ?>
	                          </div>
                            </div>
                       </li>
                  </ul>	
                  <!-- 
		          <dl style="width: 300px;">
		            <dt style="position: relative;margin-right: 14px;padding-bottom: 20px;margin-top: 5px;">
		            	<a href="<?php 
        echo urlShop('show_store', 'index', array('store_id' => $store_r['store_id']));
        ?>
"><img src="<?php 
        echo storeImage($store_r['store_label']);
        ?>
" alt="<?php 
        echo $store_r['store_name'];
        ?>
" /></a>
		            </dt>
		            <dd><a href="<?php 
        echo urlShop('show_store', 'index', array('store_id' => $store_r['store_id']));
        ?>
"><?php 
        echo $store_r['store_name'];
        ?>
</a></dd>
		            <dd>店铺等级:<?php 
        echo $store_r['sg_name'];
示例#2
0
function storeImages()
{
    echo "------------------------------------------<br>";
    $array = array();
    for ($index = 1; $index <= count($_FILES); $index++) {
        if (isset($_FILES["image" . $index]) && $_FILES["image" . $index]["name"] != null) {
            $array[] = storeImage("image" . $index);
        }
    }
    return $array;
}