Пример #1
0
	                  <tr>
	                    <td width="90" rowspan="2" valign="top"<?php 
show_page_pos($pos, 'edm_base_img');
?>
><img src="<?php 
img_src();
?>
" width="82" height="107" /></td>
	                    <td class="f3" style="font-size:13px; font-family:Arial;"><strong><?php 
show_href();
?>
</strong></td>
	                  </tr>
	                  <tr>
	                    <td valign="top" style="font-size:13px; font-family:Arial;"><?php 
show_desc();
?>
</td>
	                  </tr>
	                  <tr>
	                    <td height="26" valign="bottom" class="f5" style="color:#000; font-size:13px; font-family:Arial;">·<a href="http://www.forbeschina.com/magazine">往期杂志查阅</a></td>
	                    <td height="26" valign="bottom"></td>
	                  </tr>
	                </table></td>
	              </tr>
	            </table></td>
	          </tr>
	        </table></td>
	      </tr>
	    </table></td>
	  </tr>
Пример #2
0
		$last_dist_id = $dist_id;
	}
	
	print "</table>\n";

	print "<br>";

	it_start();
	
	if ($warning)
		it_item('', $warning);

	it_item("Description:", htmlentities($pobj['descshort']) . " (" . $fullversion . ")");
	show_desc('', $pobj['desclong']);

	show_desc('Usage&nbsp;Hints:', $pobj['descusage']);

	it_item("Section:", '<a href="'.$pdbroot.'browse.php?sec='.$pobj['section'].'" title="' . $sections[$pobj['section']] . '">'.$pobj['section'].'</a>');

	// Get the maintainer field, and try to parse out the email address
	if ($pobj['maintainer']) {
	$maintainers = $pobj['maintainer'];
	preg_match("/^(.+?)\s*<(\S+)>/", $maintainers, $matches);
		if (isset($matches[1])) $maintainer = $matches[1];
		if (isset($matches[2])) $email = $matches[2];
	} else {
		$maintainer = "unknown";
	}

	// If there was an email specified, make the maintainer field a mailto: link
	if (!isset($maintainer)) $maintainer = "unknown";