Ejemplo n.º 1
0
			<p>
				<strong>Instant Access:</strong> <?php 
        echo output_label($dataset->instant_access, $instant_access);
        ?>
<br />
				<small>Is there an approval process or time delay to download this dataset?</small>
			</p>
			<p><strong>License:</strong> <?php 
        echo output_label($dataset->license, $licenses);
        ?>
<br />
				<small>What license does this dataset fall under? Note: check the exact terms when using!</small>
			
			</p>
			<p><strong>Free:</strong> <?php 
        echo output_label($dataset->free, $free);
        ?>
<br />
				<small>Is there a charge to use/download/access this dataset?</small>
			
			</p>
			<p><strong>Download Here:</strong>
				<?php 
        echo output_url($dataset->xls_url, "download-xls.jpg");
        ?>
				<?php 
        echo output_url($dataset->csv_url, "download-csv.gif");
        ?>
				<?php 
        echo output_url($dataset->kml_url, "download-kml.jpg");
        ?>
Ejemplo n.º 2
0
        echo output_label($dataset->department, $departments);
        ?>
</h3>
							<p><?php 
        echo strip_tags(get_the_excerpt(), '<br />');
        ?>
</p>
						</td>
						<td  class="access_col">
							<?php 
        echo output_image_if_match($dataset->instant_access, 1, "ok.png");
        ?>
						</td>
						<td class="license_col">
							<?php 
        echo output_label($dataset->license, $licenses);
        ?>
						</td>
						<td class="price_col">
							<?php 
        echo output_image_if_match($dataset->free, 2, "dollar.png");
        ?>
						</td>
						<td class="dl_col">
							<?php 
        echo output_url($dataset->xls_url, "download-xls.jpg");
        ?>
						</td>
						<td class="dl_col">
							<?php 
        echo output_url($dataset->csv_url, "download-csv.gif");
Ejemplo n.º 3
0
        the_content();
        ?>
			
			<h2>Datasets for <?php 
        echo output_label($dataset->department, $departments);
        ?>
</h2>
			<?php 
        if ($datasets) {
            echo "<ul>";
            foreach ($datasets as $set) {
                echo "<li><a href=" . get_permalink($set[ID]) . " title=\"About\">" . $set[post_title] . "</a></li>";
            }
            echo "</ul>";
        } else {
            echo "We don't have any datasets listed for " . output_label($dataset->department, $departments) . ". How about <a href=\"" . get_page_link(6) . "\">adding one yourself</a>.";
        }
        ?>
		
			<div class="entry">
				<?php 
        the_tags('<p>Tags: ', ', ', '</p>');
        ?>


				<p class="postmetadata alt">
					<small>
						This entry was posted
						on <?php 
        the_time('l, F jS, Y');
        ?>