The first, directly write the sub-column ID, with Cat in{pc:get sql= "select * from V9_news where status=99 and CatID in (21,22,23,24,25) Order by ID DESC" num= "7" return= "Data"} {Loop $data $r} The benefits of this approach: You can customize the column you want to takeDisadvantage: To write more than one ID, the background added to the column, the ID will be written inThe second, according to the parent column ID, such as the above 21,22,23,24,25 are 15 below the sub-column, you can write:{l
inputtype= "text"name= "Info[down]"ID= "Down"value= "{Field_value}"size= " the"class= "Input-text"ReadOnly="">inputtype= "button"class= "button"onclick= "Flashupload" (' swf_upload ', ' attachment upload ', ' down ', submit_attachment, ' 1,swf|jpg|gz,0,,, 0 ', ' content ', ' "" upload_key~~1,swf|jpg|gz,0,,, 0)} ') "value= "Upload Attachment">The best use of an upload, but to use the address of the PHPCMSV9 itself is not satisfied with their own written aPhpcms
The form thought relatively simple, so did not add the verification code function. Similar tutorials on the web are mostly inaccurate. So personally tested, found the following method is available. Hope to have the help of friends who need. 1 The first page that invokes the form joins the verification code. Form JS Call Template The default is \phpcms\templates\default\formguide\show_js.html. Find this line of code in this file, about 23 lines Add a line of code below. 2 found this file \phpc
This plugin is a standalone module and does not affect the upgradeThe bottom provides the source download* Update Instructions:* 1. Add allow edit file to judge* 2. Added name judgment when creating new files and folders* 3. Increase the confirmation reminder when deleting files and folders* 4. Auto fixed width when preview image is too large* 5. Add File download function, can specify download file type
Support Online editing
Support for renaming
Support for deleting non-empty
The general virtual host provides the phpMyAdmin, selects your website database, and then chooses v9_admin this table,Editpassword, into: Fa3250300be9b7ab0848257f3cbb06e7encrypt, into: UCFFAPso the password will be changed to PHPCMS, you can log in normally. you can also putpassword into eeddc98ecb7cca0b0502c8c1e733549e .encrypt into: FpaidjIn this way, the password will become phpcms, so that you can log in, only change the value of MD5 is not, but also to change the value of encrypt, this mech
PHPCMS v9 super Security tutorial
I. directory permission setting is very important: it can effectively prevent hackers from uploading trojan files.
If you use chmod 644 *-R, the PHP file has no access permission.If you use chmod 755 *-R, the PHP file has higher permissions.
Therefore, you need to set the Directory and file permissions separately:
Linux Server permissions: Frequently Used commands:
Find/path-type f-exec chmod 644 {}\; // set the File
Vulnerability exploitation code:
/Index. php? M = search c = index a = public_get_suggest_keyword url = asdf q = ../../Phpsso_server/caches/configs/database. php
Original article: http://www.wooyun.in/post/7.htmlWww.2cto.com solution: this should be a problem of previous versions.Http://v9.demo.phpcms.cn/index.php? M = search c = index a = public_get_suggest_keyword url = asdf q = ../../Caches/configs/version. phpV9.1.13 20120129. This issue
When phpcms V9 is installed, if the database name contains uppercase letters, an error is returned when you post the second comment:
MySQL query: Create Table 'jq _ comment_data_1 '('id' int (10) unsigned not null auto_increment, 'commentid' char (30) not null default '', 'siteid' smallint (5) not null default '0', 'userid' int (10) unsigned default '0', 'username' varchar (20) default null, 'creat _ at' int (10) default 0, 'IP' varchar (15) default
The tag function of phpcms V9 no longer supports Limit = "2008" as it does in, which greatly hinders our call. I don't know if it's not, or I don't know whether or not. the written function labels are easy to use.Code:
{PC: Content action = "Limit" type = "Lists" catid = "54" Thumb = "" Order = "listorder DESC" step = "3,5 "}
{Loop $ data $ R}
{/Loop} {/PC}
Type: defines the category. Optional values: lists or position.
Catid: this value
book v9.1 fluid flow software SolutionsEpcon. Chempro. V9Epcon API Tech Data book v9.1 fluid flow software SolutionsEpcon sinet v9.2.1.25173 Petrochemical Industry piping System design softwareInvensys Simsci-esscor proii v9.4-iso 1CD process simulation softwareapplied.flow.technology.arrow.v6.0.1100.build.18112015Csi. sap2000.v18.0.1designbuilder.v4.5.0.148Epcon. Api. tech.data.book.v9.1Epcon. Chempro. V9Epcon. sinet.v9.2.1.25173invensys.simsci.proii.v9.4steel.connection.studio.v11.0.02VERO. V
Continue with the main part today.
{Template "content", "header"}
Call the root directory under the Phpcms/template/content/header fileThis is a div tag, do not know what is div can go online to find some tutorials to learn, this is not understood there is no need to continue to see
The above is Phpcms v9 Template production tutorial (three), more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!
DESC ', ' limit ' => ' 4′)); }{Loop $data $r}{/loop}
Publish article does not display user name
V9 foreground static sometimes does not display the user name that updates the user, the concrete modification method is as follows
Content_model.class.php Line 120th
The code is as follows
Copy Code
$urls [' Data '] [' username '] = $systeminfo [' username '];Endhtml.class.php Line 29th:Amount We have to get the ar
PHPCSM Content Management System overall experience is not very good! But the discovery has since been officially given to the Grand takeover. Found that the official pace is not keep up with the needs of users. In the old version of PHPcms2008, there are keyword batch replacement functions. But not to the new version of Phpcms V9 plus batch replacement keyword small function. The new one also records the SQL statements of each batch to replace the ke
Display format of {$ inputtime}The default time tag of the phpcms v9 content page template is {$ inputtime}. The default time format after the content page is updated is 00:38:12. Obviously, this time format is not necessarily what we want. Most website content pages do not need to be accurate to seconds. If we do not want to display the unit of seconds, how can we achieve this?On the Internet, some netizens recommended string truncation. Blue looked
Channel Total Ranking Call method Channel Monthly ranking Call method Method of calling all articles of the station:You can see "substring (b.hitsid,5)" is the Intercept hitsid field, from left to right number 5th string, namely "c-2-5" from left to right number, 1 "C", 1 "2", 2 "-", 5th character is "5", after interception only left 2nd "-" After the ID, the purpose of the final extract ID is reached. Of course, I also added another condition "status=99", this means that has been approved by
($where = ', $order = ', $page = 1, $pagesize =, $key = ', $setpages = ten, $urlrule = ', $array = Array ())3, get a single record query Get_one ($where = ", $data = ' * ', $order =", $group = ")4. Directly Execute SQL queries query ($SQL);5. Get the primary key number of the last record added insert_id ()6, perform Update record action update ($data, $where = ") $data suggested array, $where can be a string for the array7. Perform Delete record operation Delete ($where)8. Count the number of r
the workflow. (Note: Only ordinary administrators can be set as auditors; Super admins and regular members do not appear in the list of Auditors)Step: Extension --workflow---- review Select the auditor at the first level audit staff list, submit it;Tips: You can also add workflows yourself, customize the audit progression, and audit people to complete the step-by-step review requirements for your article.4. Set up the audit process of the column.Step: Content -- Management column , mod
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.