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


PHP image_asset_url函数代码示例

本文整理汇总了PHP中image_asset_url函数的典型用法代码示例。如果您正苦于以下问题:PHP image_asset_url函数的具体用法?PHP image_asset_url怎么用?PHP image_asset_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: category_listings

    function category_listings()
    {
        //$data['category_html']=$this->category_listings();
        $parent_categories = $this->categories_model->get_parent_categories();
        $category_html = '';
        foreach ($parent_categories as $pa_cat) {
            $image_path = base_url() . '/assets/uploads/images/categories/' . $pa_cat['cat_img'] . '_m.' . $pa_cat['cat_ext'];
            $category_html .= '<div class="fashion_cata">
							<img src="' . $image_path . '" width=225 height=400/>
							<h4 style=" margin-left: 55px;">' . $pa_cat['cat_name'] . '</h4>';
            $child_categories = $this->categories_model->get_child_categories($pa_cat['cat_id']);
            if ($child_categories) {
                $category_html .= '<ul style=" background-color:#000">';
                foreach ($child_categories as $child_categories) {
                    $category_html .= '<li>
									<a href="#">' . $child_categories['cat_name'] . '</a>
								</li>';
                }
                $category_html .= '<li style="background:url(' . image_asset_url('arrow-red.jpg') . ') left no-repeat;">
									<a style="color:red" href="#">MORE</a>
								</li>
							</ul>';
            }
            $category_html .= '</div>';
        }
        return $category_html;
    }
开发者ID:mrj0909,项目名称:sf,代码行数:27,代码来源:main.php

示例2: create_product_html

    public function create_product_html($products)
    {
        $product_html = "";
        if ($products) {
            foreach ($products as $products) {
                $image_path_original = other_asset_url($products['product_image'] . '_m.' . $products['product_ext'], '', 'uploads/images/products');
                $iarr = @getimagesize($image_path_original);
                if (!is_array($iarr)) {
                    $image_path_original = image_asset_url('no_image.gif');
                }
                $img_featue = 'header.jpg';
                if ($products['is_featured']) {
                    $img_featue = 'heart_red.jpg';
                }
                $sale_tag = '';
                if ($products['sale_type_id'] == '1') {
                    $sale_tag = '<span style="float:left;"> Before: ' . round($products['product_price']) . ' kr
								<br>
								<label style="color:red">Now: ' . round($products['sale_value']) . ' kr</label> </span>
								<div class="persentage_imgs">
									-' . round(100 - $products['sale_value'] / $products['product_price'] * 100) . '%
								</div>';
                } elseif ($products['sale_type_id'] == '2') {
                    $now_price = $products['product_price'] * ($products['sale_value'] / 100);
                    $sale_tag = '<span style="float:left;"> Before: ' . round($products['product_price']) . ' kr
								<br>
								<label style="color:red">Now: ' . round($products['product_price'] - $now_price) . ' kr</label> </span>
								<div class="persentage_imgs">
									-' . round($products['sale_value']) . '%
								</div><!--persentage_img-->';
                } else {
                    $sale_tag = '<span style="float:left;"> 
								<label style="color:red">Now:' . round($products['product_price']) . ' kr</label> </span>';
                    if ($products['sale_type_id'] == '3') {
                        $sale_tag .= '<br /><span style="float:left;"><label> Buy 1 get ' . $products['sale_value'] . ' free</label></span>';
                    }
                    if ($products['sale_type_id'] == '4') {
                        $deals = explode('_', $products['sale_value']);
                        $sale_tag .= '<span style="float:left;"><label >Buy ' . $deals[0] . ' and pay for ' . $deals[1] . '</label></span>';
                    }
                }
                $product_html .= '<div class="cata_pro">
									<a href="' . base_url() . 'product/product_detail/' . $products['id'] . '" class="product_detail"><img height="256" width="200" src="' . $image_path_original . '"/></a>
									<!-- <div class="heart">
										' . image_asset($img_featue) . '
									</div> -->
									<p>
										' . $products['product_name'] . '
									</p>
									<div class="clear"></div>									
									' . $sale_tag . '
								</div><!--cata_pro-->';
            }
        } else {
            $product_html .= '<div class="cata_pro"><p>Kommer snart! </p></div>';
        }
        return $product_html;
    }
开发者ID:mrj0909,项目名称:sf,代码行数:58,代码来源:retailer.php

示例3: pagination

 public function pagination()
 {
     echo "<div id='pager'><form>";
     echo "<img src='" . image_asset_url("first.png") . "' class='first'/>";
     echo "<img src='" . image_asset_url("prev.png") . "' class='prev'/>";
     echo "<input type='text' class='pagedisplay' size='7'/>";
     echo "<img src='" . image_asset_url("next.png") . "' class='next'/>";
     echo "<img src='" . image_asset_url("last.png") . "' class='last'/>";
     echo "<select class='pagesize'>";
     echo "\t<option value='20'>20</option>";
     echo "\t<option value='40'>40</option>";
     echo "\t<option value='50'>50</option>";
     echo "</select>";
     echo "</form></div>";
 }
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:15,代码来源:m_profiling.php

示例4: site_url

echo "<tr><td><a href='" . site_url("/calc/addcomp0/" . $dt[0]->NPK_ID) . "'>Add Component Fee</a></td><td colspan=3></td></tr>";
echo "</tbody>";
echo "</table>";
echo "</td><td valign='middle'>";
echo "<img src='" . image_asset_url("right_arrow.png") . "' width=50 />";
echo "</td><td valign='top'>";
echo "<u><b>Calculation - 1</b></u>";
echo "<table>";
echo "<tbody>";
$i = 1;
if (count($proc_exist) > 0) {
    foreach ($proc_exist as $k => $v) {
        echo "<tr><td valign='top'>" . form_textarea(array("name" => "str_formula_exist[" . $v->CF_ID . "]", "cols" => 30, "rows" => 3), $v->STR_FORMULA) . "</td><td valign='top'>=</td>";
        echo "<td valign='top' align='right'>" . number_format($v->CF_NOM, 2) . "</td>";
        echo "<td valign='top'><a href='" . site_url("/calc/setasfee/" . $dt[0]->NPK_ID . "/1/" . $v->CF_ID) . "' class='setasfee'><img src='" . image_asset_url("fee.jpg") . "' width=18 /></a>";
        echo ($dt[0]->FEE_CF_ID == $v->CF_ID ? "<img src='" . image_asset_url("checky.jpg") . "' width=15 />" : "") . "</td></tr>";
        $i++;
    }
}
while ($i <= count($proc)) {
    echo "<tr><td>" . form_textarea(array("name" => "str_formula[]", "cols" => 30, "rows" => 3), "") . "</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>";
    $i++;
}
for ($i = 1; $i <= 2; $i++) {
    echo "<tr><td>" . form_textarea(array("name" => "str_formula[]", "cols" => 30, "rows" => 3), "") . "</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>";
}
echo "</tbody>";
echo "</table>";
echo "</td><td valign='middle'>&nbsp;&nbsp;&nbsp;&nbsp;";
echo "</td><td valign='top'>";
echo "<u>Tools</u>";
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:31,代码来源:v_calcstepdo_1.php

示例5: form_open

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>.: Login :.</title>
</head>
<body>
<?php 
echo form_open('home/setprofiledo');
?>
 <table width="580" height="430" align="center" cellpadding="0" cellspacing="0" style="border: 1px solid #1B305D; padding: 20px;">
    <tr><td align='right'><img src="<?php 
echo image_asset_url("logo_telkom.png");
?>
" /></td></tr>
	<tr>
      <td width="574"><table width="250px" border="0">

          <tr>
            <td width="72px"><font color="#000066" size="4"><i><b></b></i></font></td>
            <td><font color="#000066" size="4"><i><b>.: Set Profile :.</b></i></font></td>
          </tr>
		  <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>

          </tr>
          <tr>
            <td><font face="Verdana, Arial, Helvetica, sans-serif" color="#000066"><?php 
echo form_label('NIK', 'user_name');
?>
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:31,代码来源:v_set_profile.php

示例6: form_error

										<td height="25" width="165" style="color: red;"><?php 
echo form_error($password['name']);
echo isset($errors[$password['name']]) ? $errors[$password['name']] : '';
?>
</td>
									</tr>
									<tr>
										<td height="20" width="165">&nbsp;</td>
										<td height="20" width="20">&nbsp;</td>
										<td height="20" width="165">&nbsp;</td>
									</tr>
									<tr>
										<td colspan="3" height="25" width="350">
										<p align="center">
											<input type="image" src="<?php 
echo image_asset_url('button-signin.jpg');
?>
" />
										</p></td>
									</tr>
								</tbody>
							</table>
							<?php 
echo form_close();
?>
						</div>
						<p align="center">
							<a style="font-size: 10px; text-decoration: underline;font-family: Tahoma" href="<?php 
echo base_url();
?>
auth/forgot_password"> Glömt ditt lösenord eller användarnamn?</a>
开发者ID:mrj0909,项目名称:sf,代码行数:31,代码来源:login_form.php

示例7: image_asset

function image_asset($asset_name, $module_name = '', $attributes = array())
{
    $attribute_str = _parse_asset_html($attributes);
    return '<img src="' . image_asset_url($asset_name, $module_name) . '"' . $attribute_str . ' />';
}
开发者ID:vasabe125,项目名称:Project_php,代码行数:5,代码来源:asset_helper.php

示例8: site_url

echo "<li><a href='" . site_url('/pgl/pgladd') . "'><img src='" . image_asset_url('add.gif') . "' width=24 /></a></li>";
echo "</ul></div>";
?>

<table class='tablesorter' id='tb_pgl'>
<thead><tr><th>PGL ID</th><th>Nama Pengelola</th><th>Alamat</th><th>No. Telp.</th><th align='center'>Marketing Fee</th><th>Count of Tenant</th><th>LIS</th><th></th></tr></thead>
<tbody>
<?php 
$no = 1;
foreach ($dt as $k => $r) {
    if ($r->ENABLE_FEE == 1) {
        $icon_enable_fee = "<img src='" . image_asset_url("checky.jpg") . "' />";
    } else {
        $icon_enable_fee = "<img src='" . image_asset_url("checkn.gif") . "' width=8 />";
    }
    echo "<tr><td>" . $r->PGL_ID . "</td><td>" . $r->PGL_NAME . "</td><td>" . $r->PGL_ADDR . "</td><td>" . $r->PGL_CONTACT_NO . "</td><td align='center'>" . $icon_enable_fee . "</td>";
    echo "<td align='right'><a href='" . site_url("/pgl/ten/" . $r->PGL_ID) . "'>" . number_format($r->JML_TEN) . "</a></td>";
    echo "<td align='right'>" . number_format($r->JML_ND) . "</td>";
    echo "<td nowrap><a href='" . site_url("/pgl/mou/" . $r->PGL_ID) . "'>PKS</a>";
    echo "&nbsp;&nbsp;<a href='" . site_url("/pgl/pgledit/" . $r->PGL_ID) . "'><img src='" . image_asset_url('edit.gif') . "' width=15 /></a>";
    echo "&nbsp;&nbsp;<a href='" . site_url("/pgl/pgldel/" . $r->PGL_ID) . "'><img src='" . image_asset_url('del.gif') . "' width=15 class='delpgl' title='" . $r->PGL_NAME . "' /></a>";
    echo "</td>";
    echo "</tr>";
    $no++;
}
?>
</tbody>
</table>

<?php 
$this->M_profiling->pagination();
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:31,代码来源:v_pgl.php

示例9: plugin_css_asset

		
		<!--[if IE 7]>
		<?php 
echo plugin_css_asset("admin/font-awesome/css/font-awesome-ie7.min.css");
?>
		<![endif]-->
		<!-- end: MAIN CSS -->
		<!-- start: CSS REQUIRED FOR THIS PAGE ONLY -->
		<?php 
echo plugin_css_asset("admin/fullcalendar/fullcalendar/fullcalendar.css");
?>
		<!-- end: CSS REQUIRED FOR THIS PAGE ONLY -->
		
		
		<link rel="shortcut icon" href="<?php 
echo image_asset_url("favicon.ico");
?>
" />
	</head>
	<!-- end: HEAD -->
	<!-- start: BODY -->
	<body>
		<?php 
$this->load->view("admin/header");
?>
		
		<!-- start: MAIN CONTAINER -->
		<div class="main-container">
			<div class="navbar-content">
				<?php 
$this->load->view("admin/menu");
开发者ID:nontachaiit,项目名称:NACC-PHP,代码行数:30,代码来源:index.php

示例10: setmenus

 public function setmenus($prof_id)
 {
     $this->load->model('M_profiling');
     $d_menus = "";
     $d_menus .= "<ul class='sf-menu'>";
     $d_menus .= "<li><a href='" . site_url("") . "'><img src='" . image_asset_url("home_icon.png") . "' width='20' style='margin-top:-5px; margin-bottom:-5px;' /> Home</a>";
     $d_menus .= "</li>";
     foreach ($this->M_profiling->getMenuByProf($prof_id, 0) as $k => $v) {
         $d_menus .= "<li><a href='" . site_url($v->MENU_LINK) . "'>" . $v->MENU_NAME . "</a>";
         $d_menus .= $this->setsubmenu($this->M_profiling, $prof_id, $v->MENU_ID);
         $d_menus .= "</li>";
     }
     $d_menus .= "</ul>";
     $i = 0;
     $fixlen = 600;
     while (strlen($d_menus) > 0) {
         $this->session->set_userdata('d_menus_' . $i, substr($d_menus, 0, $fixlen));
         //echo 'd_menus_'.$i.":\n".substr($d_menus,0,$fixlen)."\n\n";
         //echo "<pre>"; echo $this->session->userdata('d_menus_'.$i); echo "</pre>\n\n";
         $d_menus = substr($d_menus, $fixlen, strlen($d_menus) - $fixlen);
         $i++;
     }
     //$this->session->set_userdata('d_menus', $d_menus);
     //$this->session->set_userdata('d_sub_menus', $this->d_sub_menus);
 }
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:25,代码来源:home.php

示例11: index

    public function index()
    {
        $cat_id = $_GET['cat_id'];
        $config['base_url'] = base_url() . 'category/?cat_id=' . $_GET['cat_id'];
        $config['total_rows'] = $this->product_model->total_product_by_category($_GET['cat_id']);
        $config['per_page'] = 20;
        $config['uri_segment'] = isset($_GET['per_page']) ? $_GET['per_page'] : 9;
        $this->pagination->initialize($config);
        $offset = $config['uri_segment'];
        $limit = $config['per_page'];
        $config['enable_query_strings'] = TRUE;
        $config['page_query_string'] = TRUE;
        $this->pagination->initialize($config);
        $products = $this->product_model->product_by_category($cat_id, $limit, $offset);
        $pro_html = '';
        if ($products) {
            foreach ($products as $products) {
                if ($products['product_image']) {
                    $image_path_original = other_asset_url($products['product_image'] . '_m.' . $products['product_ext'], '', 'uploads/images/products');
                }
                $iarr = @getimagesize($image_path_original);
                if (!is_array($iarr)) {
                    $image_path_original = image_asset_url('no_image.gif');
                }
                $img_featue = 'header.jpg';
                $heart_class = '<div class="heart" rel="' . $products['pro_id'] . '" id="wish_heart_' . $products['pro_id'] . '" style="display:none">
										' . image_asset($img_featue) . '
									</div>';
                $whislist_detail = $this->wishlist_model->get_wishlist_detail_product($products['pro_id']);
                if ($this->wishlist_model->get_wishlist_detail_product($products['pro_id'])) {
                    $img_featue = 'heart_red.jpg';
                    $heart_class = '<div class="heartred" rel="' . $products['pro_id'] . '" id="wish_heart_' . $products['pro_id'] . '">
										' . image_asset($img_featue) . '
									</div>';
                }
                $sale_tag = '';
                if ($products['sale_type_id'] == '1') {
                    $sale_tag = '<span style="float:left;"> Before: ' . round($products['product_price']) . ' kr
							<br>
							<label style="color:red">Now: ' . round($products['sale_value']) . ' kr</label> </span>
							<div class="persentage_imgs">
								-' . round(100 - $products['sale_value'] / $products['product_price'] * 100) . '%
							</div>';
                } elseif ($products['sale_type_id'] == '2') {
                    $now_price = $products['product_price'] * ($products['sale_value'] / 100);
                    $sale_tag = '<span style="float:left;"> Before: ' . round($products['product_price']) . ' kr
							<br>
							<label style="color:red">Now: ' . round($products['product_price'] - $now_price) . ' kr</label> </span>
							<div class="persentage_imgs">
										-' . round($products['sale_value']) . '%
							</div><!--persentage_img-->';
                } else {
                    $sale_tag = '<span style="float:left;"> 
							<label style="color:red">Now:' . round($products['product_price']) . ' kr</label> </span>';
                    if ($products['sale_type_id'] == '3') {
                        $sale_tag .= '<br /><span style="float:left;"><label> Buy 1 get ' . $products['sale_value'] . ' free</label></span>';
                    }
                    if ($products['sale_type_id'] == '4') {
                        $deals = explode('_', $products['sale_value']);
                        $sale_tag .= '<span style="float:left;"><label >Buy ' . $deals[0] . ' and pay for ' . $deals[1] . '</label></span>';
                    }
                }
                $pro_html .= '<div class="cata_pro product_detail" rel="' . $products['pro_id'] . '">
									<a id="product_' . $products['pro_id'] . '" href="' . base_url() . 'product/product_detail/' . $products['pro_id'] . '" ><img height="256" width="200" src="' . $image_path_original . '"/></a>
									
									' . $heart_class . '
									<p>
										' . trim_text(strip_tags($products['product_name']), 30) . '
									</p>
									<div class="clear"></div>									
									' . $sale_tag . '
								</div><!--cata_pro-->';
            }
        } else {
            $pro_html .= '<div class="cata_pro"><p>Sorry No Record Yet!</p></div>';
        }
        $cat_id = $this->input->get("cat_id");
        $data['category_name'] = get_categroy_name($cat_id);
        $data['category_detail'] = $this->categories_model->get_category_detail($cat_id);
        $data['product_category'] = get_product_oncategory($cat_id);
        //$data['product_category']  = '';
        $data['other_choice'] = other_choice_category();
        $data['related_categories'] = related_categories($cat_id);
        $data['sales_to_missed'] = sales_not_missed();
        $data['products'] = $pro_html;
        $data['pagination'] = $this->pagination->create_links();
        $data['query_params'] = $this->input->get();
        $data['total_records'] = $config['base_url'];
        $this->load->view('main/category.html', $data);
    }
开发者ID:mrj0909,项目名称:sf,代码行数:90,代码来源:category.php

示例12: image_asset_url

                                                                                                        <img alt="" src="<php echo image_asset_url ( "admin/avatar-1.jpg"); ?>">
                                                                                                </div>
                                                                                                <div class="thread-content">
                                                                                                        <span class="author">Peter Clark</span>
                                                                                                        <span class="preview">Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</span>
                                                                                                        <span class="time">2 mins</span>
                                                                                                </div>
                                                                                        </div>
                                                                                </a>
                                                                        </li>
                                                                        <li>
                                                                                <a href="javascript:;">
                                                                                        <div class="clearfix">
                                                                                                <div class="thread-image">
                                                                                                        <img alt="" src="<?php 
echo image_asset_url("admin/avatar-3.jpg");
?>
">
                                                                                                </div>
                                                                                                <div class="thread-content">
                                                                                                        <span class="author">Steven Thompson</span>
                                                                                                        <span class="preview">Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</span>
                                                                                                        <span class="time">8 hrs</span>
                                                                                                </div>
                                                                                        </div>
                                                                                </a>
                                                                        </li>
                                                                        <li>
                                                                                <a href="javascript:;">
                                                                                        <div class="clearfix">
                                                                                                <div class="thread-image">
开发者ID:nontachaiit,项目名称:NACC-PHP,代码行数:31,代码来源:header.php

示例13: form_fieldset_close

echo "<tr><td>No. Anggota</td><td>:</td><td>".form_input('f_member_code', (isset($_POST['f_member_code']))?$_POST['f_member_code']:'', 'size=20')."</td></tr>";
echo "<tr><td colspan=3 align='right'>".form_submit('filter', 'OK','')."</td></tr>";
echo "</table>";
echo form_fieldset_close('');
echo form_close();
echo "</div>";*/
echo "<div id='navigation'><ul>";
echo "<li><a href='" . site_url('/pr/menuadd/' . $parent) . "'><img src='" . image_asset_url('add.gif') . "' width=24 /></a></li>";
if ($parent > 0) {
    $grandparent = $this->M_profiling->getMenuAll("MENU_ID=" . $parent);
    echo "<li><a href='" . site_url('/pr/menuchild/' . $grandparent[0]->MENU_PARENT) . "'>UP</a></li>";
    echo "<li><a href='" . site_url('/pr/menu') . "'>/ROOT</a></li>";
}
echo "</ul></div>";
?>

<table class='tablesorter'>
<thead><tr><th>Menu Name</th><th>Link Address</th><th></th></tr></thead>
<tbody>
<?php 
$no = 1;
foreach ($dt as $k => $r) {
    echo "<tr><td><a href='" . site_url("/pr/menuchild/" . $r->MENU_ID) . "'>" . $r->MENU_NAME . "</a></td><td>" . $r->MENU_LINK . "</td>";
    echo "<td nowrap><a href='" . site_url("/pr/menuedit/" . $r->MENU_ID) . "'><img src='" . image_asset_url('edit.gif') . "' width=15 /></a>";
    echo "&nbsp;&nbsp;<a href='" . site_url("/pr/menudel/" . $r->MENU_ID) . "'><img src='" . image_asset_url('del.gif') . "' width=15 class='del' title='" . $r->MENU_NAME . "' /></a></td>";
    echo "</tr>";
    $no++;
}
?>
</tbody>
</table>
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:31,代码来源:v_menulist.php

示例14: image_asset_url

        ?>
								<li>
									<div class="image_container">
                                   
                                       <img src="<?php 
        echo $retailer['image'];
        ?>
"/>
                                   
									</div>
                                    <div class="readmore_container" style="display:none">
									<a href="<?php 
        echo $retailer['link'];
        ?>
"> <img src="<?php 
        echo image_asset_url('arrow_red.jpg');
        ?>
" alt="" style="margin-right: 5px;">Se alla produkter </a>
                                    </div>
								</li>
								<?php 
    }
    ?>
							</ul>
						</div><!--companies_logo-->
						<div class="clear"></div>
					</div><!--showcase-->
	               <div class="clear"></div>
                    <?php 
}
?>
开发者ID:mrj0909,项目名称:sf,代码行数:31,代码来源:index.php

示例15: form_open

echo "<div class='sub_title'>" . $pgl[0]->PGL_NAME . "</div>";
/*echo "<div id='filterform' style='width:800px'>";
echo form_open(site_url('/pr/profile'));
echo form_fieldset("<span style='cursor:hand' onclick=\"toggleFieldset(document.getElementById('filtertable'));\">Filter</span>");
echo "<table id='filtertable'>";
echo "<tr><td>No. Anggota</td><td>:</td><td>".form_input('f_member_code', (isset($_POST['f_member_code']))?$_POST['f_member_code']:'', 'size=20')."</td></tr>";
echo "<tr><td colspan=3 align='right'>".form_submit('filter', 'OK','')."</td></tr>";
echo "</table>";
echo form_fieldset_close('');
echo form_close();
echo "</div>";*/
?>

<table class='tablesorter' id='tb_pgl_ten'>
<thead><tr><th>TEN ID</th><th>Tenant</th><th>Address</th><th>Phone No.</th><th>LIS</th><th></th></tr></thead>
<tbody>
<?php 
$no = 1;
foreach ($dt as $k => $r) {
    echo "<tr><td>" . $r->TEN_ID . "</td><td>" . $r->TEN_NAME . "</td><td>" . $r->TEN_ADDR . "</td><td>" . $r->TEN_CONTACT_NO . "</td>";
    echo "<td align='right'><a href='" . site_url("/ten/nd/" . $r->TEN_ID) . "'>" . number_format($r->JML_ND) . "</a></td>";
    echo "<td nowrap><a href='" . site_url("/pgl/tendel/" . $pgl[0]->PGL_ID . "/" . $r->TEN_ID) . "'><img src='" . image_asset_url('del.gif') . "' width=15 class='del' title='" . $r->TEN_NAME . "' /></a>";
    echo "</td>";
    echo "</tr>";
    $no++;
}
?>
</tbody>
</table>
<?php 
$this->M_profiling->pagination();
开发者ID:wiliamdecosta,项目名称:channel_management,代码行数:31,代码来源:v_pgl_ten.php


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