本文整理汇总了PHP中create_link_table函数的典型用法代码示例。如果您正苦于以下问题:PHP create_link_table函数的具体用法?PHP create_link_table怎么用?PHP create_link_table使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了create_link_table函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: create_link_table
</div> </td>
<td>
<div align="center">
<?php
echo create_link_table('edit_icon', $base_url . 'admin/adminmenus/edit/' . $row_submenu->id, 'edit');
echo create_link_table('delete_icon', $base_url . 'admin/adminmenus/delete/' . $row_submenu->id, 'delete', 'return confirm ("Bạn có muốn xóa đối tượng này không ?")');
?>
</div>
</td>
</tr>
<?php
}
}
}
?>
<tr class="footer">
<td colspan="5">
<?php
echo create_link_table('delete_inline', 'javascript:void(0)', 'Xóa chọn', 'deleteallinput("myform","' . $this->admin_url . 'adminmenus/deleteall")', 'Delete all');
?>
</td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
示例2: create_link_table
echo $i;
?>
</div></td>
<td><a href="<?php
echo $base_url;
?>
admin/estatetypes/list_by_parent/<?php
echo $row->id;
?>
">...........<?php
echo $rowSub->name;
?>
</a></td>
<td>
<?php
echo create_link_table('edit_icon', $base_url . 'admin/estatecatalogues/edit/' . $rowSub->id, 'edit');
?>
</td>
</tr>
<?php
}
}
}
?>
<tr>
<td colspan="3">
<?php
echo $this->pagination->create_links();
?>
</td>
</tr>
示例3: get_from_datetime
echo get_from_datetime($row->created);
?>
</div>
</td>
<td widtd="26%">
<div align="center">
<?php
echo create_link_table('delete_icon', $this->admin_url . 'projects/deletePhoto/' . $row->id, 'delete', 'return confirm ("Bạn có muốn xóa đối tượng này không ?")');
?>
</div> </td>
</tr>
<?php
}
?>
<tr class="footer">
<td colspan="4">
<?php
echo create_link_table('delete_inline', 'javascript:void(0);', 'Xóa chọn', 'actionallinput("delete","form","' . $this->admin_url . 'projects/deletePhoto","checkinput")', 'Delete all');
?>
</td>
<td colspan="2" align="right">
<!-- PAGINATION START -->
<!-- PAGINATION END -->
</td>
</tr>
</table>
示例4: get_from_datetime
<td widtd="68%">
<div align="center">
<?php
echo get_from_datetime($row->created);
?>
</div>
</td>
<td>
</td>
<td widtd="26%">
<div align="center">
<?php
echo create_link_table('delete_icon', $this->admin_url . 'banners/delete_image/' . $row->id, 'delete', 'return confirm ("Bạn có muốn xóa đối tượng này không ?")');
echo create_link_table('edit_icon', $this->admin_url . 'banners/edit/' . $row->bannercat_id . "/" . $row->id, 'edit');
?>
</div> </td>
</tr>
<?php
}
?>
<tr class="footer">
<td colspan="5">
</td>
<td colspan="2" align="right">
<!-- PAGINATION START -->
示例5: date
<?php
echo $row->estatetype->name;
?>
</div>
</td>
<td>
<div align="center">
<?php
echo date('d/m/y', strtotime($row->created));
?>
</div>
</td>
<td>
<div align="center">
<?php
echo create_link_table('edit_icon', $base_url . 'admin/estates/edit/' . $row->id . '/user/' . $estateuser->id, 'edit');
echo create_link_table('delete_icon', $base_url . 'admin/estates/delete/' . $row->id . '/user/' . $estateuser->id, 'delete', 'return confirm ("Bạn có muốn xóa đối tượng này không ?")');
?>
</div>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</form>
</div>
</div>
</div>
示例6: foreach
foreach ($wards as $row) {
$i++;
?>
<tr>
<td><div align="center"><?php
echo $i;
?>
</div></td>
<td><?php
echo $row->name;
?>
</td>
<td>
<?php
echo create_link_table('edit_icon', $base_url . 'admin/estatewards/edit_by_parent/' . $districts->id . '/' . $row->id, 'edit');
echo create_link_table('delete_icon', $base_url . 'admin/estatewards/delete_by_parent/' . $districts->id . '/' . $row->id, 'delete', 'return confirm ("Bạn có muốn xóa đối tượng này không ?")');
?>
</td>
<td>
<div align="center">
<input type="text" style="width:50px;" value="<?php
echo $row->position;
?>
" name="position_<?php
echo $row->id;
?>
" />
</div>
</td>
</tr>
<?php
示例7: image
?>
</td>
<td>
<img src="<?php
echo image($row->img, "product_admin_list");
?>
" />
</td>
<td>
<div align="left"><?php
echo $row->title;
?>
</div>
</td>
<td>
<div align="center">
<?php
echo create_link_table('edit_icon', $base_url . 'admin/metros/edit/' . $row->id, 'Edit Metro');
?>
</div>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</form>
</div>
</div>
</div>
示例8: create_link_table
</td>
<td><div align="left"><?php
echo $row->email;
?>
</div></td>
<td><div align="left"><?php
echo $row->content;
?>
</div></td>
<td><div align="center"><?php
echo $row->likes;
?>
</div></td>
<td><div align="center"><?php
echo $row->dislikes;
?>
</div></td>
<td><div align="center">
<?php
echo create_link_table('edit_icon editComment', $this->admin_url . 'productcomments/edit/' . $row->product_id . '/' . $row->id, 'Edit News');
echo create_link_table('delete_icon deleteComment', $this->admin_url . 'productcomments/delete/' . $row->id, 'delete');
?>
</div> </td>
</tr>
<?php
}
?>
<tr class="footer">
<td colspan="9" align="right"></td>
</tr>
</table>
示例9: create_link_table
<div align="center">
<?php
echo create_link_table('delete_icon', $this->admin_url . 'cnews/delete/' . $row->id, 'delete', 'return confirm ("Bạn có muốn phục hồi lại ko ?")');
?>
</div> </td>
</tr>
<?php
}
?>
<tr class="footer">
<td colspan="3">
<?php
echo create_link_table('delete_inline', 'javascript:void(0);', 'Xóa chọn', 'actionallinput("delete","myform","' . $this->admin_url . 'cnews/delete/0/1","checkinput")', 'Xóa luôn');
?>
<?php
echo create_link_table('unrecycle_inline', 'javascript:void(0);', 'Kích hoạt', 'actionallinput("unrecycle","myform","' . $this->admin_url . 'cnews/recycle/0/0","checkinput")', 'Phục hồi xóa');
?>
<td colspan="2" align="right">
<!-- PAGINATION START -->
<?php
echo $this->pagination->create_links();
?>
<!-- PAGINATION END -->
</td>
</tr>
</table>
示例10: create_link_table
<td><div align="center"><?php
echo $i;
?>
</div></td>
<td><?php
echo $row->name;
?>
</td>
<td><?php
echo $row->link;
?>
</td>
<td>
<?php
echo create_link_table('edit_icon', $base_url . 'admin/lands/edit_by_parent/' . $catalogue->id . '/' . $row->id, 'edit');
echo create_link_table('delete_icon', $base_url . 'admin/lands/delete_by_parent/' . $catalogue->id . '/' . $row->id, 'delete', 'return confirm ("Bạn có muốn xóa đối tượng này không ?")');
?>
</td>
</tr>
<?php
}
?>
<tr>
<td colspan="4">
<?php
echo $this->pagination->create_links();
?>
</td>
</tr>
</tbody>
</table>
示例11: create_link_table
<td colspan="4">
<?php
echo create_link_table('delete_inline', 'javascript:void(0);', 'Xóa chọn', 'actionallinput("recycle","myform","' . $this->admin_url . 'cnews/recycle/0/1","checkinput")', 'Delete all');
?>
<?php
echo create_link_table('approve_inline', 'javascript:void(0);', 'Kích hoạt', 'actionallinput("active","myform","' . $this->admin_url . 'cnews/active/0/1","checkinput")', 'Kích hoạt');
?>
<?php
echo create_link_table('reject_inline', 'javascript:void(0);', 'Vô hiệu', 'actionallinput("deactive","myform","' . $this->admin_url . 'cnews/active/0/0","checkinput")', 'Vô hiệu');
?>
<?php
echo create_link_table('addhome_inline', 'javascript:void(0);', 'Hot Trang chủ', 'actionallinput("addhome","myform","' . $this->admin_url . 'cnews/add_home/0/1","checkinput")', 'Hot Trang chủ');
?>
<?php
if ($this->logged_in_user->adminrole->id == 1) {
echo create_link_table('delete_inline', 'javascript:void(0);', 'Xóa chọn', 'actionallinput("delete","myform","' . $this->admin_url . 'cnews/delete/0/1","checkinput")', 'Xóa luôn');
}
?>
</td>
<td colspan="3" align="right">
<!-- PAGINATION START -->
<?php
echo $this->pagination->create_links();
?>
<!-- PAGINATION END -->
</td>
</tr>
</table>
示例12: create_link_table
</td>
</tr>
<?php
}
?>
<tr class="footer">
<td colspan="4">
<?php
echo create_link_table('approve_inline', 'javascript:void(0);', 'Kích hoạt', 'actionallinput("active","myform","' . $this->admin_url . 'cnews/active/0/1","checkinput")', 'Kích hoạt');
?>
<?php
echo create_link_table('reject_inline', 'javascript:void(0);', 'Vô hiệu', 'actionallinput("deactive","myform","' . $this->admin_url . 'cnews/active/0/0","checkinput")', 'Vô hiệu');
?>
<?php
echo create_link_table('removehome_inline', 'javascript:void(0);', 'Bỏ tiêu điểm', 'actionallinput("addhome","myform","' . $this->admin_url . 'cnews/add_home/0/0","checkinput")', 'Bỏ hot trang chủ');
?>
</td>
<td colspan="3" align="right">
<!-- PAGINATION START -->
<?php
echo $this->pagination->create_links();
?>
<!-- PAGINATION END -->
</td>
</tr>
</table>