Skip to content
Permalink
Browse files

software funcional de redsocial

  • Loading branch information
configuroweb committed Mar 12, 2020
0 parents commit e1d3c14a60641e5b06c3d34d2be6356f39d5de95
Showing with 14,548 additions and 0 deletions.
  1. +334 −0 DATABASE/socialdb.sql
  2. +13 −0 README.txt
  3. +7 −0 add_friend.php
  4. +62 −0 change_pic.php
  5. BIN css/Futura Extra Bold.ttf
  6. BIN css/TR Century Gothic.ttf
  7. +3,945 −0 css/animate-custom.css
  8. +263 −0 css/bootstrap-glyphicons.css
  9. +6,158 −0 css/bootstrap.css
  10. +9 −0 css/bootstrap.min.css
  11. +206 −0 css/demo.css
  12. +540 −0 css/font-awesome.css
  13. BIN css/fonts/BebasNeue-webfont.eot
  14. +146 −0 css/fonts/BebasNeue-webfont.svg
  15. BIN css/fonts/BebasNeue-webfont.ttf
  16. BIN css/fonts/BebasNeue-webfont.woff
  17. +57 −0 css/fonts/Dharma Type Font License.txt
  18. BIN css/fonts/fontomas-webfont.eot
  19. +31 −0 css/fonts/fontomas-webfont.svg
  20. BIN css/fonts/fontomas-webfont.ttf
  21. BIN css/fonts/fontomas-webfont.woff
  22. BIN css/fonts/franchise-bold-webfont.eot
  23. +175 −0 css/fonts/franchise-bold-webfont.svg
  24. BIN css/fonts/franchise-bold-webfont.ttf
  25. BIN css/fonts/franchise-bold-webfont.woff
  26. +248 −0 css/my_style.css
  27. +383 −0 css/style.css
  28. +392 −0 css/style2.css
  29. +388 −0 css/style3.css
  30. +1 −0 dbcon.php
  31. +6 −0 delete_friend.php
  32. +6 −0 delete_message.php
  33. +6 −0 delete_photos.php
  34. +6 −0 delete_post.php
  35. +72 −0 edit_profile.php
  36. BIN font/FontAwesome.otf
  37. BIN font/fontawesome-webfont.eot
  38. +284 −0 font/fontawesome-webfont.svg
  39. BIN font/fontawesome-webfont.ttf
  40. BIN font/fontawesome-webfont.woff
  41. +41 −0 footer.php
  42. +60 −0 friends.php
  43. +12 −0 header.php
  44. +30 −0 heading.php
  45. +37 −0 heading1.php
  46. +54 −0 heading2.php
  47. +62 −0 home.php
  48. BIN images/avatar.jpg
  49. BIN images/fotoperfil.jpg
  50. BIN images/logo2.png
  51. BIN images/male5.jpg
  52. BIN images/male6.jpg
  53. +27 −0 index.php
  54. +15 −0 index_header.php
  55. +16 −0 login.php
  56. +20 −0 login_form.php
  57. +5 −0 logout.php
  58. +105 −0 message.php
  59. +33 −0 navbar.php
  60. +100 −0 photos.php
  61. +7 −0 post.php
  62. +23 −0 profile.php
  63. +22 −0 save_edit.php
  64. +68 −0 search.php
  65. +9 −0 send_message.php
  66. +11 −0 session.php
  67. +35 −0 sign_up_form.php
  68. +18 −0 signup_save.php
  69. BIN upload/1236307_664859663525077_959622365_n.png
  70. BIN upload/7918240442_4471d5b11e_b.jpg
  71. BIN upload/Another_chili_burger.png
  72. BIN upload/Como Aumentar tus Seguidores en Instagram con Instabot Python.png
  73. BIN upload/Como dar Like Automatico por Palabra Clave en Twitter con Python.png
  74. BIN upload/candado.png
  75. BIN upload/como instalar wordpress en local con xampp.png
  76. BIN upload/desarrollo de aplicaciones.jpg
@@ -0,0 +1,334 @@
-- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Mar 16, 2019 at 05:49 PM
-- Server version: 5.6.21
-- PHP Version: 5.6.3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `socialdb`
--

-- --------------------------------------------------------

--
-- Table structure for table `friends`
--

CREATE TABLE IF NOT EXISTS `friends` (
`my_friend_id` int(11) NOT NULL,
`my_id` int(11) NOT NULL,
`friends_id` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `friends`
--

INSERT INTO `friends` (`my_friend_id`, `my_id`, `friends_id`) VALUES
(1, 10, 0);

-- --------------------------------------------------------

--
-- Table structure for table `members`
--

CREATE TABLE IF NOT EXISTS `members` (
`member_id` int(11) NOT NULL,
`firstname` varchar(100) NOT NULL,
`lastname` varchar(100) NOT NULL,
`middlename` varchar(100) NOT NULL,
`address` varchar(100) NOT NULL,
`email` varchar(100) NOT NULL,
`contact_no` varchar(100) NOT NULL,
`age` int(11) NOT NULL,
`gender` varchar(100) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`image` varchar(100) NOT NULL,
`birthdate` varchar(100) NOT NULL,
`mobile` varchar(100) NOT NULL,
`status` varchar(100) NOT NULL,
`work` varchar(100) NOT NULL,
`religion` varchar(100) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `members`
--

INSERT INTO `members` (`member_id`, `firstname`, `lastname`, `middlename`, `address`, `email`, `contact_no`, `age`, `gender`, `username`, `password`, `image`, `birthdate`, `mobile`, `status`, `work`, `religion`) VALUES
(1, 'stephanie', 'villanueva', 'batoonq', 'Saraviaq', 'tephvillanueva.jk@gmail.comq', '0946651154', 18, 'Male', 'teph', 'teph', 'images/male5.jpg', 'q', 'q', 'q', 'q', 'q'),
(7, 'john kevin', 'lorayna', '', 'bago city', 'jkevlorayna@gmail.com', '09466651154', 19, 'Male', 'q', 'q', '', '', '', '', '', ''),
(8, 'testg', 'fasfsg', '', 'bagdahsd', 'kevin_lorayna@yahoo.com', '31289417', 12, 'Female', 'test', 'qwerty', '', '', '', '', '', ''),
(9, 'jessica', 'bela-ong', '', 'bbasf', 'kasfasfas@yahoo.com', '311fasf', 19, 'Female', 'jessica', '12345', '', '', '', '', '', ''),
(10, 'Harry', 'Den', '', 'espn', '', '', 0, 'Male', 'harry', 'pass', 'images/male6.jpg', '12 Jan-1995', '7542220011', 'Single', 'developer', 'Buddhist');

-- --------------------------------------------------------

--
-- Table structure for table `message`
--

CREATE TABLE IF NOT EXISTS `message` (
`message_id` int(11) NOT NULL,
`sender_id` int(11) NOT NULL,
`reciever_id` int(11) NOT NULL,
`content` varchar(100) NOT NULL,
`date_sended` varchar(100) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `message`
--

INSERT INTO `message` (`message_id`, `sender_id`, `reciever_id`, `content`, `date_sended`) VALUES
(1, 10, 1, 'hello', '2019-02-27 18:12:48');

-- --------------------------------------------------------

--
-- Table structure for table `note`
--

CREATE TABLE IF NOT EXISTS `note` (
`note_id` int(11) NOT NULL,
`date` varchar(100) NOT NULL,
`message` varchar(200) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `note`
--

INSERT INTO `note` (`note_id`, `date`, `message`) VALUES
(6, '', 'Doc terry will be out on august 3 2013');

-- --------------------------------------------------------

--
-- Table structure for table `photos`
--

CREATE TABLE IF NOT EXISTS `photos` (
`photos_id` int(11) NOT NULL,
`location` varchar(100) NOT NULL,
`member_id` int(11) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `photos`
--

INSERT INTO `photos` (`photos_id`, `location`, `member_id`) VALUES
(1, 'upload/7918240442_4471d5b11e_b.jpg', 1);

-- --------------------------------------------------------

--
-- Table structure for table `post`
--

CREATE TABLE IF NOT EXISTS `post` (
`post_id` int(11) NOT NULL,
`member_id` int(11) NOT NULL,
`content` varchar(1000) NOT NULL,
`date_posted` varchar(100) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `post`
--

INSERT INTO `post` (`post_id`, `member_id`, `content`, `date_posted`) VALUES
(2, 1, 'test', '2014-06-20 21:55:52'),
(3, 1, 'demo', '2019-02-27 18:07:13'),
(4, 10, 'hello world', '2019-03-16 22:26:11');

-- --------------------------------------------------------

--
-- Table structure for table `schedule`
--

CREATE TABLE IF NOT EXISTS `schedule` (
`id` int(11) NOT NULL,
`member_id` int(11) NOT NULL,
`date` varchar(100) NOT NULL,
`service_id` int(11) NOT NULL,
`Number` int(11) NOT NULL,
`status` varchar(100) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `schedule`
--

INSERT INTO `schedule` (`id`, `member_id`, `date`, `service_id`, `Number`, `status`) VALUES
(76, 1, '11/09/2013', 1, 1, 'Done'),
(77, 1, '11/09/2013', 1, 1, 'Pending'),
(78, 1, '10/09/2013', 1, 1, 'Done');

-- --------------------------------------------------------

--
-- Table structure for table `service`
--

CREATE TABLE IF NOT EXISTS `service` (
`service_id` int(11) NOT NULL,
`service_offer` varchar(100) NOT NULL,
`price` decimal(11,2) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `service`
--

INSERT INTO `service` (`service_id`, `service_offer`, `price`) VALUES
(1, 'Cleaning', '700.00'),
(2, 'q', '100.00');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE IF NOT EXISTS `users` (
`user_id` int(11) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`user_id`, `username`, `password`) VALUES
(5, 'admin', 'admin'),
(9, 'teph', 'teph'),
(10, 'teph', 'teph');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `friends`
--
ALTER TABLE `friends`
ADD PRIMARY KEY (`my_friend_id`);

--
-- Indexes for table `members`
--
ALTER TABLE `members`
ADD PRIMARY KEY (`member_id`);

--
-- Indexes for table `message`
--
ALTER TABLE `message`
ADD PRIMARY KEY (`message_id`);

--
-- Indexes for table `note`
--
ALTER TABLE `note`
ADD PRIMARY KEY (`note_id`);

--
-- Indexes for table `photos`
--
ALTER TABLE `photos`
ADD PRIMARY KEY (`photos_id`);

--
-- Indexes for table `post`
--
ALTER TABLE `post`
ADD PRIMARY KEY (`post_id`);

--
-- Indexes for table `schedule`
--
ALTER TABLE `schedule`
ADD PRIMARY KEY (`id`);

--
-- Indexes for table `service`
--
ALTER TABLE `service`
ADD PRIMARY KEY (`service_id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `friends`
--
ALTER TABLE `friends`
MODIFY `my_friend_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `members`
--
ALTER TABLE `members`
MODIFY `member_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `message`
--
ALTER TABLE `message`
MODIFY `message_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `note`
--
ALTER TABLE `note`
MODIFY `note_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `photos`
--
ALTER TABLE `photos`
MODIFY `photos_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `post`
--
ALTER TABLE `post`
MODIFY `post_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `schedule`
--
ALTER TABLE `schedule`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=79;
--
-- AUTO_INCREMENT for table `service`
--
ALTER TABLE `service`
MODIFY `service_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=11;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
@@ -0,0 +1,13 @@
Configuro Web | Red Social

**DETALLES DE REGISTRO**

Nombre de usuario: configuroweb
Contraseña: 1234abcd..

Igual puedes solo registrarte como usuario


Debes crear una base de datos de nombre socialdb con UTF8 spanish 2

Después importas la bd ubicada dentro del proyecto, en la carpeta de nombre DATABASE
@@ -0,0 +1,7 @@
<?php include('dbcon.php'); ?>
<?php include('session.php'); ?>
<?php
$my_friend_id = $_POST['my_friend_id'];
$conn ->query("insert into friends (my_id,my_friend_id) values('$session_id','$my_friend_id')");
header('location:friends.php');
?>

0 comments on commit e1d3c14

Please sign in to comment.
You can’t perform that action at this time.