谁能告诉我下面的正确语法是什么?
<?php if (function_exists(\'z_taxonomy_image\')) : ?>
<img alt="" src="<?php if (function_exists(\'z_taxonomy_image_url\')) echo z_taxonomy_image_url($child->term_id);?>" />
<?php else : ?>
echo \'<img alt="\'. esc_html( get_the_title() ) .\'" src="\'. esc_url( get_template_directory_uri() . \'/assets/images/blank325_170.png\' ) .\'">\';
<?php endif; ?>