当前位置: 首页>>代码示例>>PHP>>正文


PHP projects::getSpecsStr方法代码示例

本文整理汇总了PHP中projects::getSpecsStr方法的典型用法代码示例。如果您正苦于以下问题:PHP projects::getSpecsStr方法的具体用法?PHP projects::getSpecsStr怎么用?PHP projects::getSpecsStr使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在projects的用法示例。


在下文中一共展示了projects::getSpecsStr方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

            echo $user->login;
            ?>
"><?php 
            print $user->uname . " ";
            print $user->usurname;
            ?>
 [<?php 
            echo $user->login;
            ?>
]</a>
                <?php 
            if (!$is_personal) {
                ?>
                <br />
                Раздел: <?php 
                echo projects::getSpecsStr($prj['id'], ' / ', ', ');
                ?>
                <?php 
            }
            ?>
		<?php 
            /* $category=$proj_groups_by_id[$prj['category']]; print $category;*/
            ?>
            </div>
            <?php 
            if ($prj['pro_only'] == 't' || $prj['verify_only'] == 't' || $prj['prefer_sbr'] == 't') {
                ?>
<br />
                <span  class="fl2_offer_meta2" style="background-color:#fff7ee;">
                <?php 
                if ($prj['pro_only'] == 't' || $prj['verify_only'] == 't') {
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:projects_inner.php

示例2: viewattachLeft

  	foreach ( $project_attach as $attach )
  	{
  		$str = viewattachLeft( NULL, $attach["name"], $attach['path'], $file, 0, 0, 0, 0, 0, 0, $nn );
  		echo '<div class = "flw_offer_attach">', $str, '</div>';
          $nn++;
  	}
  	?>
  	       </div>
          </td>
  	</tr>
  <?php } //elseif */
?>
                <div class="b-menu b-menu_crumbs b-menu_padtop_30">
                    <ul class="b-menu__list">
                        <li class="b-menu__item b-menu__item_fontsize_11">Раздел: <?php 
echo projects::getSpecsStr($project['id'], '&#160;&rarr;&#160;', ', ', 'b-menu__link');
?>
</li>
                    </ul>
                </div>
                
                <?php 
if (!$is_offer && ($count_offer < $max_offers || $project['kind'] == 7)) {
    ?>
                <div class="i-prompt">
                    <div class="b-prompt b-prompt_left_-260 b-prompt_top_35 b-prompt_width_240">
                        <div class="b-prompt__txt b-prompt__txt_color_fd6c30 b-prompt__txt_italic">Если проект вас заинтересовал, оставьте заказчику свое предложение</div>
                        <div class="b-prompt__arrow b-prompt__arrow_left_70 b-prompt__arrow_3"></div>
                    </div>
                </div>
                
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:30,代码来源:tpl.step.answer.php

示例3: array

    </table>
    
    <?php 
        $aCategory = array();
        foreach ($log as $aOne) {
            $sObjName = $aOne['object_name'] ? $aOne['object_name'] : '<без названия>';
            $sObjLink = $aOne['object_link'] ? $aOne['object_link'] : 'javascript:void(0);';
            $sActClass = '';
            $nRowSpan = $aOne['admin_comment'] ? 6 : 5;
            if (in_array($aOne['act_id'], $aRed)) {
                $sActClass = 'color-a30000';
            } elseif (in_array($aOne['act_id'], $aGreen)) {
                $sActClass = 'color-45a300';
            }
            if (!isset($aCategory[$aOne['object_id']])) {
                $aCategory[$aOne['object_id']] = projects::getSpecsStr($aOne['object_id'], ' / ', ', ', true);
            }
            $sCategory = $aCategory[$aOne['object_id']];
            ?>
    <table class="lenta-project">
	<tr>
    	<td class="cell-number"><h4>#<?php 
            echo $aOne['object_id'];
            ?>
</h4></td>
    	<td class="cell-body"><h4>Проект: <a href="<?php 
            echo $sObjLink;
            ?>
"><?php 
            echo hyphen_words(reformat($sObjName, 60), true);
            ?>
开发者ID:kapai69,项目名称:fl-ru-damp,代码行数:31,代码来源:proj_inner.php

示例4: _getProjectsAttachSpecs

 /**
  * Вспомогательная функция для получения аттачей и профессий для проектов/конкурсов
  * 
  * @param type $aReturn 
  */
 function _getProjectsAttachSpecs(&$aReturn = array())
 {
     require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/projects.php";
     require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/professions.php";
     // аттачи
     foreach ($aReturn as $key => $aOne) {
         $aReturn[$key]['attach'] = projects::GetAllAttach($aOne['id']);
         $aReturn[$key]['specs'] = projects::getSpecsStr($aOne['id'], ' / ', ', ', true);
         $aReturn[$key]['specs'] = str_replace('<a', '<a target="_blank"', $aReturn[$key]['specs']);
     }
 }
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:16,代码来源:user_content.php

示例5:

            <td  bgcolor="#ffffff" width="20"></td>
            <td  width="20"></td>
            <td >
                <font color="#444444" size="2" face="arial,sans-serif"><a href="<?php 
    echo $this->getLinkById($project['id']);
    ?>
" style=" color:#0F71C8" target="_blank"><?php 
    echo $project['sTitle'];
    ?>
</a></font>&#160;&#160;
                <font color="#599f39" size="2" face="arial,sans-serif"><?php 
    echo $project['str_cost'];
    ?>
</font>&#160;&#160;
                <font color="#b3b3b3" size="2" face="arial,sans-serif"><?php 
    echo projects::getSpecsStr($project['id'], ' / ', ', ', false);
    ?>
</font>
            </td>
            <td  width="20"></td>
            <td  bgcolor="#ffffff" width="20"></td>
        </tr>
        <tr>
            <td  bgcolor="#ffffff" width="20" height="5"></td>
            <td  width="20"></td>
            <td ></td>
            <td  width="20"></td>
            <td  bgcolor="#ffffff" width="20"></td>
        </tr>
        
        <?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.DigestBlockListProject.php

示例6: view_user3

			<b class="b-fon__b1"></b>
	</div>
	
	<div class="b-layout b-layout_padtop_20">
		<table class="b-layout_table b-layout__table_width_full" cellpadding="0" cellspacing="0" border="0">
			<tr class="b-layout__tr">
				<td class="b-layout__left">
          <div class="b-username b-username_bold b-username_padbot_10"><?php 
    echo view_user3($offer, "?f=" . stat_collector::REFID_FRL_OFFERS . "&stamp={$_SESSION['stamp']}");
    ?>
</div>
					<div class="b-freelancer__txt b-freelancer__txt_fontsize_11 b-freelancer__txt_padbot_5">
						<div class="b-freelancer__txt b-freelancer__txt_valign_top b-freelancer__txt_inline-block b-freelancer__txt_width_120 b-freelancer__txt_bordbot_dot_e5"> <span class="b-freelancer__txt b-freelancer__txt_top_3 b-freelancer__txt_bg_fff">Специализация</span> </div>
						<div class="b-freelancer__txt b-freelancer__txt_inline-block b-freelancer__txt_width_320 b-freelancer__txt_top_3">
						<?php 
    projects::getSpecsStr($offer['id'], ' / ', ', ');
    ?>
						<?php 
    echo $offer['cat_name'];
    echo $offer['profname'] != "Нет специализации" ? " &rarr; <a class='b-freelancer__link' href='/freelancers/{$offer['link']}/'>{$offer['profname']}</a>" : "";
    ?>
</div>
					</div>
					<div class="b-freelancer__txt b-freelancer__txt_fontsize_11 b-freelancer__txt_padbot_5">
						<div class="b-freelancer__txt b-freelancer__txt_valign_top b-freelancer__txt_inline-block b-freelancer__txt_width_120 b-freelancer__txt_bordbot_dot_e5"> <span class="b-freelancer__txt b-freelancer__txt_top_3 b-freelancer__txt_bg_fff">На сайте</span> </div>
						<div class="b-freelancer__txt b-freelancer__txt_inline-block b-freelancer__txt_width_320 b-freelancer__txt_top_3"><?php 
    echo ElapsedMnths(strtotime($offer['reg_date']));
    ?>
</div>
					</div>
					<?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.offers-item.php

示例7: foreach

    $nn = 1;
    foreach ($project_attach as $attach) {
        $str = viewattachLeft(NULL, $attach["name"], $attach['path'], $file, 0, 0, 0, 0, 0, 0, $nn);
        echo '<div class = "flw_offer_attach">', $str, '</div>';
        $nn++;
    }
    ?>
            	       </div>
                    </td>
            	</tr>
            	<?php 
}
?>
    		</table>
            <div style="font-size:11px;color:#666666;text-align:right;padding:0 0 5px 0">Раздел: <?php 
echo projects::getSpecsStr($project['id'], '<strong> / </strong>');
?>
</div>
            <div id="warnreason-p<?php 
echo $project['id'];
?>
" style="display:none; margin-bottom: 5px;">&nbsp;</div>
            <div id="project-reason-<?php 
echo $project['id'];
?>
" style="margin-top: 10px;<?php 
echo $project['is_blocked'] ? 'display: block' : 'display: none';
?>
"><?php 
if ($project['is_blocked']) {
    $moder_login = hasPermissions('projects') ? $project['admin_login'] : '';
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content_kon_frl.php

示例8: ago_pub_x

    echo ago_pub_x(strtotimeEx($row['create_date']));
    ?>
<br />
                Автор: <a href="/users/<?php 
    echo $user->login;
    ?>
"><?php 
    print $user->uname . " ";
    print $user->usurname;
    ?>
 [<?php 
    echo $user->login;
    ?>
]</a><br />
                Раздел: <?php 
    echo projects::getSpecsStr($row['id'], ' / ', ', ');
    ?>
                <?php 
    /* $category=$proj_groups_by_id[$row['category']]; print $category;*/
    ?>
            </div>
            <?php 
    if ($row['pro_only'] == 't') {
        ?>
<br />
                <span  class="fl2_offer_meta2" style="background-color:#fff7ee;">Отвечать на проект могут только пользователи с аккаунтом <a href="/payed/"><img style="background:none" src="/images/icons/f-pro.png" alt="" class="pro" /></a></span>
                <?php 
    }
    ?>
                <div class="fl2_comments_link">
                    <div style="padding:12px 0px 0px 0px;"></div>
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:tpl.employer-project-item.php


注:本文中的projects::getSpecsStr方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。