This file contains hidden or 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
<asp:GridView ID="gvBenhNhan" AutoGenerateColumns="false" runat="server"> | |
<Columns> | |
<asp:BoundField HeaderText="Mã bệnh nhân" DataField="MaBenhNhan" /> | |
<asp:BoundField HeaderText="Tên bệnh nhân" DataField="TenBenhNhan" /> | |
<asp:BoundField HeaderText="Viện phí" DataField="VienPhi" /> | |
<asp:BoundField HeaderText="Tên phòng" DataField="TenPhong" /> | |
<asp:HyperLinkField Text="Sửa" DataNavigateUrlFields="MaBenhNhan" DataNavigateUrlFormatString="~/PL/BenhNhan/22_update.aspx?id={0}" /> | |
<asp:HyperLinkField Text="Xóa" DataNavigateUrlFields="MaBenhNhan" DataNavigateUrlFormatString="~/PL/BenhNhan/22_delete.aspx?id={0}" /> | |
</Columns> | |
</asp:GridView> |
This file contains hidden or 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
<div class="row"> | |
<div class="small-12 columns pagination-centered"> | |
<ul class="pagination"> | |
<?php | |
echo $this->Paginator->prev('<<', | |
array( | |
'tag'=>'li', | |
'disabledTag'=>'a' | |
)); | |
echo $this->Paginator->numbers(array( |
This file contains hidden or 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 | |
public function convert_vi_to_en($str) { | |
$str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str); | |
$str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ)/", 'e', $str); | |
$str = preg_replace("/(ì|í|ị|ỉ|ĩ)/", 'i', $str); | |
$str = preg_replace("/(ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ)/", 'o', $str); | |
$str = preg_replace("/(ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ)/", 'u', $str); | |
$str = preg_replace("/(ỳ|ý|ỵ|ỷ|ỹ)/", 'y', $str); | |
$str = preg_replace("/(đ)/", 'd', $str); | |
$str = preg_replace("/(À|Á|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ă|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str); |
This file contains hidden or 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
// | |
// ViewController.m | |
// SimpleTableView | |
// | |
// Created by Phi Long on 12/30/14. | |
// Copyright (c) 2014 Phi Long . All rights reserved. | |
// | |
#import "ViewController.h" |
This file contains hidden or 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
package com.quynguyenblog.mymap; | |
import android.app.AlertDialog; | |
import android.app.Service; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.location.Location; | |
import android.location.LocationListener; | |
import android.location.LocationManager; |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
<!-- Root Context: defines shared resources visible to all other web components --> | |
</beans> |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Split sentences | |
Author: Quy Nguyen | |
Tested under Python 2.7 | |
""" | |
import io | |
import re |