The following is a code example.
Copy Code code as follows:
<?php
$nid = $row->nid;
$country = Db_result (db_query (' SELECT name from {term_data} term_data JOIN {term_node} term_node on term_node.tid = Term_d Ata.tid WHERE Term_data.vid =%d and Term_node.nid =%d ', 1, $nid));
$investment = Db_result (db_query (' SELECT name from {term_data} term_data JOIN {term_node} term_node on term_node.tid = ter M_data.tid WHERE Term_data.vid =%d and Term_node.nid =%d ', 2, $nid));
?>
<div class= "Article-l" >
<?php echo $fields [' title ']->content?>
<div class= "Left-content" >
<?php echo $fields [' Body ']->content?>
</div>
</div>
<div class= "Article-r" >
<div class= "Right-content" >
<?php echo $fields [' Body_1 ']->content?>
</div>
<div class= "Article-link" >
<?php Echo Instanter_country_code ($country)?> <?php echo $fields [' Created ']->content?>] <?php Echo Instanter_investment_code ($investment)?>
<?php echo $fields [' View_node ']->content?>
</div>
</div>
<div class= "Clear-both" ></div>