Пример #1
0
            echo $matches[1];
            ?>
"><a href="<?php 
            echo $matches[1];
            ?>
">Audio</a></audio>

    <?php 
            echo $post_content;
            ?>
]]></content:encoded>
    <wp:post_name><?php 
            echo formatPermalinkSlug($post->attributes()->id, $post->{'audio-caption'});
            ?>
</wp:post_name>
<?php 
            break;
    }
    ?>
  </item>
<?php 
}
$out = ob_get_contents();
ob_end_clean();
getWarnings();
getAllTags();
echo $out;
?>
</channel>
</rss>
Пример #2
0
}
?>
						</table>

						<br />&nbsp;
					</td>
					<td id="body">
						<?php 
if (hasErrors()) {
    ?>
							<div id="errorBox">
								The following errors occured:
								<ul>
									<?php 
    $errors = getErrors();
    $warnings = getWarnings();
    $allErrors = array_merge($errors, $warnings);
    foreach ($allErrors as $error) {
        ?>
										<li><?php 
        echo $error->getMessage();
        ?>
</li>
									<?php 
    }
    ?>
								</ul>
							</div>
						<?php 
}
if (hasNotices()) {