§Instructions for use
§1. Backend login address: The backend login address is the supply and demand directory/admin/index.asp (it is recommended to modify the backend folder path)
Default administrator: Username: admin Password: admin
Please change your password after logging in
§2. Modify the database path in Access version: Open the file: Common/setup.asp
Found line 18: bbdbpath="/gq35/database/www.fyasp.com.mdb"
Change it to the name you want. Of course, don’t forget to change the name of the file itself.
To repair the Sql database connection, please open common/Inc_DatConn.asp
Find line 25
is_sqldata=1
Set the value to 1, if it is 0, it is access database
Installation of sql database:
Create a new database named gq.fyasp.com in SQL (please use forced restore to create a database with other names), then right-click->All tasks--->Restore database--->Slave device--->Point to this Restore "database/gq.fyasp.com.sql" in the directory.
Go to Security-->Login-->Create a new user (be sure not to use the SA default account, and create a strong mixed password of more than 20 digits and letters for SA)
--->Specify database (database access-->Select gq.fyasp.com-->Database role allows selection (public and db_owner). Note: Virtual host users skip this step.
After restoring the database, open common/Inc_DatConn.asp
Find lines 42-47
'sql database connection parameters: database name, user password, user name, connection name (use local locally, use IP abroad)
Dim sql_databasename,sql_password,sql_username,sql_localname
sql_localname = "127.0.0.1"
sql_databasename = "gq.fyasp.com"
sql_username = "gq.fyasp.com"
sql_password = "gq.fyasp.com"
Configure username and password
§3. Northern Supply and Demand v3.3 improves the modification of types. The modification method is as follows:
Open common/Inc_Function.asp
Find line 71
Function gqlx(stype,xxlx) function,
Just modify the Chinese.
§4. Code call:
Call instructions:
lx is the information type: supply: 1 purchase: 2 news: 3 dynamics: 4 recruitment: 5 job search: 6 exhibition: 7 others: 8
num is the number of calls: the default is 6
words displays the word count for the title. The default is 10 characters.
dl is the first-level classification number. If you call a category separately, please fill in this parameter, such as: &dl=12
tj Whether to call recommended information. If only recommended information is called, please keep this parameter, otherwise leave it blank.
showlx Whether to display the type in front of the information, if displayed, please keep this parameter, otherwise leave it blank
Expand