Location: PHPKode > projects > Prsaar Social Networking Platform > PrsaarColour-0.7.alpha.6.3/pr-inside/install/database-fill.php
<?php

//some config data
$DBFill[10] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'admin_id', config_value = '{$Username}'";
$DBFill[11] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'admin_password', config_value = '{$Password1}'";
$DBFill[12] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'admin_mail', config_value = '{$Email}'";
$DBFill[13] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'profile_theme', config_value = 'default'";
$DBFill[14] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'profile_name', config_value = 'My Profile'";
$DBFill[15] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'profile_tagline', config_value = 'Profile Tagline'";
$DBFill[16] = "REPLACE INTO ".PR_DATABASE_PREFIX."config SET config_name = 'prsaar_version', config_value = '0.7.alpha.6.0'";

//some scratches
$Time = date("YmdHis");

$DBFill[20] = "INSERT INTO ".PR_DATABASE_PREFIX."scratch SET scratch_user_name = 'Prsaar Colour', scratch_user_mail = '', scratch_user_url = 'http://colour.prsaar.com/', scratch_value = 'Hi, This is an scratch example. You can delete this message from admin section.', scratch_time = '".$Time."', scratch_status = 'okay'";

//some links
$DBFill[30] = "INSERT INTO ".PR_DATABASE_PREFIX."link SET link_name = 'Prsaar Colour', link_url = 'http://colour.prsaar.com/', link_title = 'Prsaar Homepage', link_category = 'Prsaar'";

$DBFill[31] = "INSERT INTO ".PR_DATABASE_PREFIX."link SET link_name = 'SourceForge', link_url = 'http://sourceforge.net/projects/prsaar/', link_title = 'Prsaar at SourceForge', link_category = 'Prsaar'";

$DBFill[32] = "INSERT INTO ".PR_DATABASE_PREFIX."link SET link_name = 'Vikrant', link_url = 'http://vikrant.co.in/', link_title = 'Vikrant Chaudhary', link_category = 'Prsaar'";

//some questions
$DBFill[40] = "INSERT INTO ".PR_DATABASE_PREFIX."askme SET askme_question = 'This is a sample question, answer it or delete it', askme_asker_name = 'Prsaar Colour', askme_asker_url = 'http://colour.prsaar.com/', askme_question_time = '".$Time."', askme_asker_mail = '', askme_status = 'toanswer'";

//some profile elements
$DBFill[50] = "INSERT INTO ".PR_DATABASE_PREFIX."profile SET profile_name = 'sample profile element', profile_value = 'This is a sample profile element in About me category', profile_category = 'About me'";

//---
?>
Return current item: Prsaar Social Networking Platform