This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav id="menu"> | |
<ul> | |
<li><a href="#ex1">Link #1</a></li> | |
<li><a href="#ex2">Link #2</a></li> | |
<li><a href="#ex3">Link #3</a></li> | |
<li><a href="#ex4">Link #4</a></li> | |
</ul> | |
</nav> | |
<div id="content"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (have_posts()) : query_posts('p=1'); | |
while (have_posts()) : the_post(); ?> | |
<?php the_title(); ?> | |
<?php the_content(); ?> | |
<?php the_post_thumbnail(array(100, 100)); ?> | |
<?endwhile; endif; wp_reset_query(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var profitCenterNameTbl = new ExecQuery().GetData("Получаем имена всех профит-центров для вывода в название отчета", query, 0, null) | |
.Rows.Cast<DataRow>() | |
.Select(r => r.Field<String>("profit_center_name")) | |
.ToList() | |
.Distinct(); | |
String profitCenterNameString = ""; | |
foreach (var i in profitCenterNameTbl) | |
profitCenterNameString += i + ","; |