English 中文(简体)
将一个网站从超文本改为智能
原标题:Converting a site from HTML to Smarty

我有一系列的超文本页面,自我学习以来,我正在转换成Sarty syntax。 该网站在设计上相当陈旧,没有包括等等。 - 尽管我们的“htaccess”允许我们把PHP作为HTM延伸。

我节省了几页左右的纸页,但是,在将其转换成全面排位方面,有什么最佳办法?

我ve慢,但很奇怪的是,将页数分成了纸面文件,尽管这并不能确定,这为正确的方式......该网站是联合制作的,最初是作为纯粹的超文本。

我使用一个排气发动机,因为这一发动机符合原地主的希望,而且我们都有能力使用一个排气发动机。

The manual on Smarty was useful; but I m wondering how to do a Smarty pagination script where the data is paginated like this for database results (moving some data into a new database that was formerly static data enclosed in < li > tags), rather than 1-10, 11-20 etc.:

http://i44.tinypic.com/5uh7nk.jpg

http://i44.tinypic.com/5uh7nk.jpg

If there s another solution (for now we don t quite need CodeIgniter etc.) I d appreciate the help! ;)

问题回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签